Quantcast
Channel: Questions in topic: "splunk-enterprise"
Viewing all articles
Browse latest Browse all 47296

Custom audit path with rlog.sh

$
0
0
Hi, I have audit data coming from a port (UDP) to Heavy Forwarder[via syslog] and have to apply rlog.sh on the same. Just to start, I tried to monitor a custom path rather than the /var/log/audit/audit.log and used rlog.sh script. Something like this: [monitor:///vf/home/splunk/Audit_new.log] [script:///opt/splunk/splunkforwarder/etc/apps/Splunk_TA_nix/bin/rlog.sh] sourcetype = auditd_nix interval = 1 index = vf_os disabled = 0 passAuth = splunk Instead of indexing vf/home/splunk/Audit_new.log, SPLUNK indexed /var/log/audit/auditd.log with index=vf_os and sourcetype=auditd_nix and source=/opt/splunk/splunkforwarder/etc/apps/Splunk_TA_nix/bin/rlog.sh I want to index the sample file i placed under custom path vf/home/splunk/Audit_new.log with rlog.sh implemented. Thanks, Payal

Viewing all articles
Browse latest Browse all 47296

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>