All Apps and Add-ons

Details in alert manager are not displayed

guiotto4
Engager

Hello,

after updating the app from version 2.1.1 to version 2.2.0 it does not show me the details of the incidents generated in incident posture.
alt text

john0499
Explorer

I was running into this issue even though I was using the KV store. I eventually tracked it down to periods in the field names I was trying to display in the alert.

Eg a field name called client.device would prevent all details from showing. At first I tried adding quotes to the field name in Alert Managers incident settings, eg "client.device", but this still didn't work. Renaming the field to remove the period was the fix and now all details are displayed.

0 Karma

cbrodeur
Engager

Setting the app to leverage the KVStore will resolve this issue.

0 Karma

gbeatty
Path Finder

Can you explain this further?

0 Karma

gopx101
New Member

We are experiencing the same issue. 50% of our alerts contain no details. When there are no details, the email alert also fails because there are no results defined.

"2019-06-27 09:42:45,227 ERROR pid="11684" logger="alert_manager_notifications" message="Unable to send notification. Continuing without sending notification. Unexpected Error: Traceback (most recent call last):
File "/opt/splunk/etc/apps/alert_manager/bin/lib/NotificationHandler.py", line 200, in send_notification
content = template.render(context)
File "/opt/splunk/etc/apps/alert_manager/bin/lib/jinja2/environment.py", line 989, in render
return self.environment.handle_exception(exc_info, True)
File "/opt/splunk/etc/apps/alert_manager/bin/lib/jinja2/environment.py", line 754, in handle_exception
reraise(exc_type, exc_value, tb)
File "/opt/splunk/etc/apps/alert_manager/default/templates/default_incident_assigned.html", line 49, in top-level template code
{% for k in results[0] %}
UndefinedError: 'results' is undefined"

0 Karma
Get Updates on the Splunk Community!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...