Hello,
I'm trying to only get a certain server processes to ingest to splunk index using Splunk Add-on for Unix and Linux script by editing the ps.sh script by adding grep command in there. like below.
However i'm getting error like
ERROR: Unsupported option (BSD syntax)
or
ERROR: Garbage option.
edit:
CMD='ps auxww|grep nc'
Could someone please direct me to document how to add grep in or some guidance how to get this ps.sh script to works?
thank you
↧