Last active
June 6, 2017 09:57
-
-
Save gingerwizard/dbde5c9d20ec06af145be3dabadb3383 to your computer and use it in GitHub Desktop.
Ingest Pipeline for Creating a process_signature field from Auditd in CEF
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"description": "Pipeline for creating process_signature field", | |
"processors": [ | |
{ | |
"script": { | |
"lang": "painless", | |
"inline": "if (ctx.auditd?.log?.a0 != null) { ctx.process_signature = ctx.auditd.log.a0+'|'+ctx.auditd.log.a1+'|'+ctx.beat.name; }" | |
} | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment