Open herrkutt opened 5 years ago
Hi, I'm facing the same problem, did you succeed to get over it?
Yes. Kind of. The problem is with the new java execution engine. I have to run logstash with the parameter —java-execution false in order to get it to work.
You can see more discussion here: https://discuss.elastic.co/t/elpased-filter-works-differently-6-8-1-vs-7-1-possible-bug/187400
@herrkutt I have the same issue but it's not a statistical one - I get "elapsed_end_without_start" on every end event. I do get the right tags on the events (both start and end), and ELK does recognize the end event through the tag (since it posts "elapsed_end..."), but it does not mark the start event.
Any ideas why? Maybe you have full logstash.config files with the elapsed filter that I can review and understand where my problem is?
Thanks in advance
Did anyone succeed to solve this? I see the same problem.
Did you consider that per default Logstash uses 1 pipeline worker per CPU thread? That would work like different instances and so the events might not reach the same filter.
For all general issues, please provide the following details for fast resolution:
if "_grokparsefailure" in [tags]{ grok { remove_tag => ["_grokparsefailure"] patterns_dir => ["/etc/logstash/conf.d/patterns"] match => { "message" => "%{YEAR:log_year}.%{MONTHNUM:log_month}.%{MONTHDAY:log_day}|%{TIME:log_time}||%{SESSIONUID:SESUID}||%{SESSIONUID:THREADUID}|(null)|%{WORD:ThreadName}|%{WORD:Action}|End|check_patient_for_completeness%{GREEDYDATA}"}
} elapsed { start_tag => "CheckPatientForCompletenessStart" end_tag => "CheckPatientForCompletenessEnd" unique_id_field => "THREADUID" }`
2019.04.25|09:36:49.850||B8CA3A947330-5CC1B251-1||B8CA3A947330-5CC1B251-146|(null)|MainThread|Generic|Begin|check_patient_for_completeness()|(null)| 2019.04.25|09:36:50.128||B8CA3A947330-5CC1B251-1||B8CA3A947330-5CC1B251-146|(null)|MainThread|Generic|End|check_patient_for_completeness()|(null)|