Monitoring Splunk

SOLVED - Error Banner Message exit_code=255 btool command

bleung93
Path Finder

Search process did not exit cleanly, exit_code=255, description="exited with code 255". Please look in search.log for this peer in the Job Inspector for more info.

Getting this error when executing the search " | btool indexes". While executing this search in the SOS app, the sos_server field is populated with the search head and indexers. When executing through the search app, banner appears and the sos_server field only shows the search head.

This is probably a configuration error, but splunkd.log is not showing anything with WARN or ERROR.

sos app is set to global, btool is set to global

Tags (4)
1 Solution

bleung93
Path Finder

Hello, this has been solved. Turns out that we were not syncing properly to all of the indexers, which gave the error. The btool command was not installed on the indexers themselves because he lack of sync.

View solution in original post

0 Karma

edwardWorldline
Engager

How do you sync all the indexers in the cluster?

0 Karma

bleung93
Path Finder

Hello, this has been solved. Turns out that we were not syncing properly to all of the indexers, which gave the error. The btool command was not installed on the indexers themselves because he lack of sync.

0 Karma

edwardWorldline
Engager

How do you sync all the indexers in a cluster? Is there another thread that explains how this was solved?

0 Karma

hexx
Splunk Employee
Splunk Employee

This really looks as if the updated permissions for the btool.py custom search command are not being propagated to your peers, which therefore cannot execute it outside of the S.o.S app.

0 Karma

martin_mueller
SplunkTrust
SplunkTrust

What does the search.log file for that job say?

0 Karma
Get Updates on the Splunk Community!

What's new in Splunk Cloud Platform 9.1.2312?

Hi Splunky people! We are excited to share the newest updates in Splunk Cloud Platform 9.1.2312! Analysts can ...

What’s New in Splunk Security Essentials 3.8.0?

Splunk Security Essentials (SSE) is an app that can amplify the power of your existing Splunk Cloud Platform, ...

Let’s Get You Certified – Vegas-Style at .conf24

Are you ready to level up your Splunk game? Then, let’s get you certified live at .conf24 – our annual user ...