Hi @leandrojmp
I am using beat input where filebeat is sending data to logstash and i want to parse this event_time field as a timestamp
test.log
name=David Kluesner,weight=36,event_time=2022-08-31 14:01:02.066109
name=Pamela Ware,weight=47,event_time=2022-08-31 14:02:01.322111
name=Paul Folsom,weight=40,event_time=2022-08-31 14:02:01.327286
name=Dennis Cochran,weight=34,event_time=2022-08-31 14:02:01.328276
name=Lois Macy,weight=31,event_time=2022-08-31 14:02:01.341071
name=Roberto Kelly,weight=36,event_time=2022-08-31 14:03:01.597030
name=Wesley Ingram,weight=33,event_time=2022-08-31 14:03:01.598002
name=Daniel Kitchen,weight=40,event_time=2022-08-31 14:03:01.601372
name=Julie Obrien,weight=46,event_time=2022-08-31 14:03:01.602028
name=David Taylor,weight=24,event_time=2022-08-31 14:03:01.602174
name=Charles Randle,weight=23,event_time=2022-08-31 14:03:01.604975
I was getting this below error
[2022-08-30T18:05:53,173][ERROR][logstash.agent ] Failed to execute action {:action=>LogStash::PipelineAction::Create/pipeline_id:main, :exception=>"LogStash::ConfigurationError", :message=>"Expected one of [ \\t\\r\\n], \"#\", \"=>\" at line 25, column 6 (byte 406) after filter {\nif \"average_weight\" in [tags] { \nkv {\nsource=>\"message\"\ntarget => \"test\"\nfield_split=>\",\"\n}\n\nmutate {\nrename => {\n\"[test][name]\" =>\"name\"\n\"[test][weight]\" => \"weight\"\n\"[test][event_time]\" => \"[event][time]\"\n}\n\ndate ", :backtrace=>["/home/aniket/logstash/logstash-core/lib/logstash/compiler.rb:32:in `compile_imperative'", "org/logstash/execution/AbstractPipelineExt.java:189:in `initialize'", "org/logstash/execution/JavaBasePipelineExt.java:72:in `initialize'", "/home/aniket/logstash/logstash-core/lib/logstash/java_pipeline.rb:48:in `initialize'", "/home/aniket/logstash/logstash-core/lib/logstash/pipeline_action/create.rb:52:in `execute'", "/home/aniket/logstash/logstash-core/lib/logstash/agent.rb:388:in `block in converge_state'"]}