I am trying to parse below data from txt file, i can able to parse the data in Grok debugger but not able to get the same result using logstash.
Data:
185.93.185.235
219.151.8.160
93.174.93.136 no-reverse-dns-configured.com
input {
stdin {}
}
filter { grok {match => { "message" => "(?<IP1>.*)\t(?<msg1>.*)\n(?<IP2>.*)\t(?<msg2>.*)\n(?<IP3>.*)\t(?<msg3>.*)" } }
}
output
{
stdout { codec => rubydebug}
}