All Apps and Add-ons

|loadincidentresults id return empty

droutin
New Member

Hello,
For some reasons details from incidents in "Incident Posture" are not available.

I have seen that the lookup is perfomed thanks to "| loadincidentresults incident_id".
I have modify the python script to include additional login and I can confirm that:
- The command is called correctly with the incident id argument
- The server response is just empty -> []

I tried to replay the command using curl and got the same results -> []

It just looks like the addition of the incident information in the dedicated KVStore never happens...
This is partially confirmed by the fact that this:
log.info("Results for incident_id=%s written to collection." % (incident_id))

Never happens in any logs.
splunk@splunk01:/opt/splunk/var/log/splunk$ grep "written to collect" alert*
splunk@splunk01:/opt/splunk/var/log/splunk$

We also tried to search in the logs for the incident id itself and founded that but no entries related to kvstore:
alert_manager_eventhandler.log:2018-05-22 14:51:26,741 INFO pid="24547" logger="alert_manager_eventhandler" message="event=incident_created

Any help would be much appreciated as without being able to drilldown on details make the application not usable...

Kind regards,

0 Karma

my2ndhead
SplunkTrust
SplunkTrust

Usually the "Save incident results to KVStore" checkbox under Settings -> Global Settings is not enabled.

Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Index This | What travels the world but is also stuck in place?

April 2026 Edition  Hayyy Splunk Education Enthusiasts and the Eternally Curious!   We’re back with this ...

Discover New Use Cases: Unlock Greater Value from Your Existing Splunk Data

Realizing the full potential of your Splunk investment requires more than just understanding current usage; it ...

Continue Your Journey: Join Session 2 of the Data Management and Federation Bootcamp ...

As data volumes continue to grow and environments become more distributed, managing and optimizing data ...