Getting Data In

Troubleshooting Scripted Inputs

qix
Engager

Where can I find the error messages generated by scripted inputs?

Tags (1)
1 Solution

Ron_Naken
Splunk Employee
Splunk Employee

The error output of scripted inputs is indexed by Splunk in the `_internal` index. You can search the errors with a similar search to the following:

index="_internal" error myscript.sh

You should see notices that look like `ERROR ExecProcessor`, followed by the script path/name.

This data is also kept in `$SPLUNK_HOME/var/log/splunk/splunkd.log`.

View solution in original post

Ron_Naken
Splunk Employee
Splunk Employee

The error output of scripted inputs is indexed by Splunk in the `_internal` index. You can search the errors with a similar search to the following:

index="_internal" error myscript.sh

You should see notices that look like `ERROR ExecProcessor`, followed by the script path/name.

This data is also kept in `$SPLUNK_HOME/var/log/splunk/splunkd.log`.

Get Updates on the Splunk Community!

See your relevant APM services, dashboards, and alerts in one place with the updated ...

As a Splunk Observability user, you have a lot of data you have to manage, prioritize, and troubleshoot on a ...

Splunk App for Anomaly Detection End of Life Announcement

Q: What is happening to the Splunk App for Anomaly Detection?A: Splunk is officially announcing the ...

Aligning Observability Costs with Business Value: Practical Strategies

 Join us for an engaging Tech Talk on Aligning Observability Costs with Business Value: Practical ...