Skip to content

Map variable within message field with parse configuration CEF logging #3659

Answered by fujimotos
krabelize asked this question in Q&A
Discussion options

You must be logged in to vote

But the DeviceCustomString1 (cs1) field in CommonSecurityLog stays empty in Sentinel. Any tips or tricks how I can get this to work?

I took some time this evening trying to replicate this issue. Attached
is the configuration I used in my replication attempt.

As far as I can tell, it just worked, so I'm not sure what is the exact
problem here.

In particular, I poured the test data directly to Fluentd:

$ cat test.data > /dev/tcp/127.0.0.1/25226

... which resulted in the following record:

{"host":"evb-nl-ams-fw01_FG6H0E","ident":"CEF","message":"...","cs1":"Norway"}

As you can see, "cs1" got parsed properly. Isn't this what you are expecting?

fluent.conf

<source>
  @type syslog
  port 2522…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by krabelize
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants