Hi,
All is in the title; here is my Aggregate plugin configuration:
aggregate {
task_id => "%{id}"
code => "map['message'] ||= '' ; map['message'] += event['message'] + '\n'"
add_tag => ['start']
}
if [message] =~ "(?:( tunnel .* started\.)|(Access policy: Deny))" {
aggregate {
task_id => "%{id}"
code => "event['message'] = map['message']"
end_of_task => true
add_tag => ['end']
}
}
Thanks to the configuration above, my events are tied up as wanted, this is a good point. In the other hand, when I make a search using grok fields, it works fine when the search matches the low level events (the none aggregated ones). But, something goes wrong when the filter I type in KIBANA search bar should match the aggregated events, as if those events are not related at all, so search result is displayed.
A search including only the expressions I am looking for (without using grok fields) works fine though.
This is really annoying, I've been looking for a solution for weeks now, but alas, found nothing that could explain this.
Does it ring a bell to anyone?