Matched field truncated by grok


(Arussel) #1

I do:

grok { match => { "message" => "%{GREEDYDATA:foo}" } }

and I would expect that message and foo are the same, but foo is only the first ~4000 chars of message. I don't believe this is an event size issue, as I'm testing it with stdin/sdtout, and message is correctly shown as about 6000 chars. But foo has only the first 4000.

Alex


(Arussel) #2

I've manage to find the root cause, I was testing using stdin/stdout, cut/pasting my data into the command line. It seems that my cut/paste buffer was 4096 chars. When echo/cat the input, it works as expected.


(system) #3

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