Splunk Search

how to find out scripts running on indexers

kteng2024
Path Finder

hi,

Is there a way to find out the scripts running by users on indexers because few backs when i ask a user , he told that he ran it on search head but actually that script is running on indexers . So, how to find out the scripts running on indexers that were created by users . i know splunk base apps will be running shell scripts but i want to ignore them.

0 Karma

aaraneta_splunk
Splunk Employee
Splunk Employee

@kteng2024 - Did one of the answers below help provide a solution your question? If yes, please click “Accept” below the best answer to resolve this post and upvote anything that was helpful. If no, please leave a comment with more feedback. Thanks.

0 Karma

woodcock
Esteemed Legend

Try this:

index="_internal" sourcetype="splunk_python"
0 Karma

lycollicott
Motivator

I assume you mean saved searches.

Try this to start with:

index=_internal source="*scheduler.log" savedsplunker | stats count BY user, savedsearch_name, host

Run it with a time range of maybe a week.

Get Updates on the Splunk Community!

More Control Over Your Monitoring Costs with Archived Metrics!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...

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 ...