logstash _grokparsefailure issues

后端 未结 1 1366
庸人自扰
庸人自扰 2021-02-13 23:45

I\'m having issues with grok parsing. In ElasticSearch/Kibana the lines I match come up with the tag _grokparsefailure.

Here is my logstash config :

inpu         


        
1条回答
  •  隐瞒了意图╮
    2021-02-14 00:08

    Found out the issue, it was around double quotes.

    Needed to use simple quote to define the grok filter, and escape double quotes.

    match => { 'message' => 'L %{DATE:date} - %{TIME:time}: \"string_between_doublequotes\" '
    

    0 讨论(0)
提交回复
热议问题