Extractor Key value with spaces

(Felipe Couto) #1


I enjoy using the Extractor Copy Input > Key Value option
But when there is value like
msg=New session created

the space breaks the extraction, and I get only "New"
Anyone knows a better way to do it?

The whole source message is like this:
CEF:0|A10|vThunder|2.7.2-P10|WAF|session-id|2|rt=Nov 20 2017 12:37:23 src= spt=14142 dst= dpt=443 dhost=asd-wartsila.dsa.it cs1=WAF_relaxed_Tmpl cs2=a4d74bbd421bda8c act=learn cs3=learn app=HTTPS requestMethod=GET request=/asdoij/jspgepestyle/FilecomuniReport.jsp?p=5.0.186-001 msg=New session created: Id=a4d74bbd42df1bda8c

thank you

(Jochen) #2

You can use the CEF plugin for CEF messages. :wink:

(Felipe Couto) #3

Hi Jochen,
Thank you for the quick reply.
I installed and activated the plugin CEF.
Started on UDP port, traffic is comming ( i can see w/ tcpdump) messages arive but maybe the
input filter is not working?

138 events

But maybe my messages are not in the correct format…?

(Jochen) #4

Try searching “in the future”, e. g. use an absolute time range and set the end a some point some hours in the future to rule out timezone issues.

If the plugin doesn’t work for you, please create a bug report at https://github.com/Graylog2/graylog-plugin-cef/issues and include some example messages (ideally captured with tcpdump or Wireshark) so we can reproduce the issue.

(system) closed #5

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