Monitoring Splunk

bin/splunk exit codes

zanb
Path Finder

Hello,

I wrote a script to monitor Splunk Enterprise instances and email me if any of my functions return non-zero exit statuses. One of the functions captures the exit status of splunk status. Last night I got an email saying that the splunk status command exited with an exit code of 8.

Can anyone please help me identify any non-zero exit statuses so I may refine my monitor script? Thank you!

Tags (1)
0 Karma

zanb
Path Finder

Are bumps allowed?

0 Karma
Get Updates on the Splunk Community!

Operationalizing TDIR: Building a More Resilient, Scalable SOC

Optimizing SOC workflows with a unified, risk-based approach to Threat Detection, Investigation, and Response ...

Pro Tips for First-Time .conf Attendees: Advice from SplunkTrust

Heading to your first .Conf? You’re in for an unforgettable ride — learning, networking, swag collecting, ...

Raise Your Skills at the .conf25 Builder Bar: Your Splunk Developer Destination

Calling all Splunk developers, custom SPL builders, dashboarders, and Splunkbase app creators – the Builder ...