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!

Introducing Splunk Enterprise 9.2

WATCH HERE! Watch this Tech Talk to learn about the latest features and enhancements shipped in the new Splunk ...

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

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...