Finding Patterns - Logstash 5.5


(Juke Box Hero) #1

Hi, I'm trying to send data from some logs I have of type FILE, this are created as a big string separated by "|" I checked another post with a similar issue but could not figure out what it's happening.

Test configuration:

input {
  file {
    path => "C:/myLogs/*"
  }
}

filter {
    mutate {
    split => {"message" => "|" }
    }
}

output { 
  stdout { codec => rubydebug }
}

The .FILE size is about 1 MB should not be a problem; sample of the data in the file:

20145555(2)-0|750243(1)100Nf0|750244(1)100Nf0|750242(1)100Nf0|501500(14)100Nf0|132(8)100Nf0|145(1)100Nf000Fd111Rx000|

Logstash will just hang, no error message or behavior at all. Can anyone give me a little bit of direction please?

Thanks


(Juke Box Hero) #2

I actually managed to make it work, there was a problem with the log file it seems but Logstash never gave me an error message, everything is good now. Thanks!


(system) #3

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.