Hi!
Could someone please help me on this? The following aggregate:
aggregate {
task_id => "%{postfix_queueid}"
code => "
if event.get('@timestamp')
map['@timestamp'] = event.get('@timestamp')
end
map['postfix_to_list'] ||= []
map['tags'] ||= []
map['events'] ||= []
if event.get('postfix_to')
map['postfix_to_list'] << event.get('postfix_to')
end
map['events'] << event.to_hash
"
push_map_as_event_on_timeout => true
timeout => 300
inactivity_timeout => 15
timeout_code => "
event.set('postfix_to', event.get('postfix_to_list'))
"
timeout_tags => ['aggregated']
}
is throwing a "ConfigurationError: Pipeline aborted due to error {:exception=>#<LogStash::ConfigurationError: Aggregate plugin: For task_id pattern %{postfix_queueid}, inactivity_timeout must be lower than timeout>,....... }"
If I remove the inactivity_timeout variable, it starts working again, and I can't understand what's wrong..
Thanks in advance!!