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!

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...

Updated Team Landing Page in Splunk Observability

We’re making some changes to the team landing page in Splunk Observability, based on your feedback. The ...

New! Splunk Observability Search Enhancements for Splunk APM Services/Traces and ...

Regardless of where you are in Splunk Observability, you can search for relevant APM targets including service ...