-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Description
A note for the community
Please vote on this issue by adding a 👍 [reaction](https://blog.github.com/2016-03-10-add-reactions-to-pull-requests-issues-and-comments/) to the original issue to help the community and maintainers prioritize this request
If you are interested in working on this issue or have submitted a pull request, please leave a comment
Use Cases
Using vector gathering the local security logs(/var/log/secure, /var/log/message, /var/log/sudo.log ....etc) to kafka and export logs from kafka to opensearch.
I tried to parse the logs generated by auditd which stored in /var/log/audit/audit.log like the format below. I tried parse_* functions listed in the document but all failed.
type=CRED_ACQ msg=audit(1729236001.971:1172784): pid=10824 uid=0 auid=4294967295 ses=4294967295 msg='op=PAM:setcred grantors=pam_env,pam_unix acct="root" exe="/usr/sbin/crond" hostname=? addr=? terminal=cron res=success'
Attempted Solutions
I have tried parse* family function to parse logs generate by auditd but failed.
https://vector.dev/docs/reference/vrl/functions/#parse-functions
Currently struggling on using parse_regex to extract useful field from the log. Would you please add a function to parse the logs generated by auditd?
No response
Proposal
No response
References
No response
Version
No response