hello!
i want to enrich my data with the elastic filter .
i tried to keep de host.hostname fields of metricbeat without success with this:
elasticsearch {
hosts => "https://xxxx:9200"
index => "metricbeat"
query => "[host][hostname]:%{server}"
fields => { "[host][hostname]" => "server" }
user => "yyyyy"
password => "xxxxx"
ca_file => 'xxxx/elasticsearch-ca.pem'
}
i tried it with host.hostname, host, hostname, [host.hostname], etc...
how does this filter works with nested fields?
thanks in advanced!