Splunk Search

Why am I receiving "Search process did not exit cleanly, exit_code=255, description="exited with code 255"" error with my current search?

lksridhar
Explorer

Hi Folks,

While executing the below command on Search and Reporting app, we are getting below error. could you please any one check and provide me resolution to fix the issue?

Error:

Search process did not exit cleanly, exit_code=255, description="exited with code 255"

search:

sourcetype="Cisco" | iplocation src_ip | geostats count by src_ip
Tags (1)
0 Karma

muebel
SplunkTrust
SplunkTrust

Hi Iksridhar, I expect you'll find more info in the search job inspector. More info on accessing that here : https://docs.splunk.com/Documentation/Splunk/6.5.2/Search/ViewsearchjobpropertieswiththeJobInspector

You should find additional debug information there. If you don't get this error on all searches, my guess is that it has something to do with either the iplocation or geostats command. In particular, I'd take another look at the geostats documentation to make sure you are passing any parameters that might help the command : https://docs.splunk.com/Documentation/Splunk/6.5.2/SearchReference/Geostats

Please let me know if this helps!

0 Karma

lksridhar
Explorer

muebel, thanks for the info, i'm getting the above error while executing the iplocation or geostats command.

0 Karma

DalJeanis
Legend

try this -

sourcetype="Cisco" src_ip=* | head 10 | iplocation src_ip 

if no error, try this -

sourcetype="Cisco" src_ip=*| iplocation src_ip 

if no error, try this

sourcetype="Cisco" src_ip=* | iplocation src_ip | geostats count by src_ip
0 Karma

lksridhar
Explorer

the above three command is not working on my search and i am not able to find any error and warning message on search log.

0 Karma

muebel
SplunkTrust
SplunkTrust

anything of note in the job inspector results?

0 Karma
Get Updates on the Splunk Community!

Brains, Bytes, and Boston: Learn from the Best at .conf25

When you think of Boston, you might picture colonial charm, world-class universities, or even the crack of a ...

Splunk AppDynamics Agents Webinar Series

Mark your calendars! On June 24th at 12PM PST, we’re going live with the second session of our Splunk ...

SplunkTrust Application Period is Officially OPEN!

It's that time, folks! The application/nomination period for the 2025 SplunkTrust is officially open! If you ...