Splunk Search
Highlighted

Is it possible to use Linux commands in the search as a normal user?

Explorer

As a normal user, is there any way for me to use:

ps -aux| grep httpd| wc -l

in Splunk's search bar? I'm trying to get a line count on logs through it.

0 Karma
Highlighted

Re: Is it possible to use Linux commands in the search as a normal user?

Legend

You can create a custom search command that executes a perl/python script that calls the Linux command

http://docs.splunk.com/Documentation/Splunk/6.1.1/Admin/Commandsconf