Hello,
I'm new to ELK , I have a grok filter to parse logs , I added tags as process started and process ended to calculate the session length for each connection,
but the session had no session ID , is i generated uuid to be added, but the problem elapsed plugin need two tags with the same uuid to calculate the session time,
how can I add the same uuid to two different msgs ??
my configuration is looks like below
grok {
match => msg1 { add_tag => ["sessionStart"]
}
if [_grokfailer] in [tags] {
remove_tag=> [_grokfailuer]
}
match => msg2 { add_tag => ["sessionEnd"]
}
if ["sessionStart"] or ["sessionEnd"] in [tags] {
uuid {
tagrget => "sessionID"}
}
}
but this will create different uuid in each session start or end, and I need them to be the same,
any thoughts ? thanks in advance
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.