Splunk Search

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

vil505
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

sundareshr
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

Get Updates on the Splunk Community!

Welcome to the Splunk Community!

(view in My Videos) We're so glad you're here! The Splunk Community is place to connect, learn, give back, and ...

Tech Talk | Elevating Digital Service Excellence: The Synergy of Splunk RUM & APM

Elevating Digital Service Excellence: The Synergy of Real User Monitoring and Application Performance ...

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...