Splunk AppDynamics

severity (Warn/Critical) and violation status variable

Ashish_Saxena3
Explorer

Please share if any one have idea of severity (Warn/Critical) and violation status variable while Http rest API integration

Labels (3)
0 Karma

Ashish_Saxena3
Explorer

Please provide me variable if any other

0 Karma

Morelz
Builder

Hi Ashish

here you go

Severity

${latestEvent.severity}

For violation status I believe it should be as below, just check

${latestEvent.violationStatus}

Ciao

0 Karma

Morelz
Builder
Hi Ashish

Can you clarify.
Is severity variable working?

Are you staying they violation status doesn't work?
0 Karma

Ashish_Saxena3
Explorer

@Mario.Morelli - Please respond, As i said Status="${latestEvent.violationStatus}" is not working. 

Do we have any other variable to get the data

0 Karma

Morelz
Builder

Hi Ashish

Does using the severity value not work, is there a reason you require violationStatus? Can you share a screenshot from within the controller to which violationStatus you are trying to get into the event?

Ashish_Saxena3
Explorer

@Mario.Morelli 

Yes I need to forward my event details to Grafana tool for creating dashboard as Open  and Resolved.
Open I see but resolved i am seeing as "Health Rule Close". I need this as Resolved as per screenshot.

0 Karma

Ashish_Saxena3
Explorer

@Mario.Morelli 

Yes I need to forward my event details to Grafana tool for creating dashboard as Open  and Resolved.
Open I see but resolved i am seeing as "Health Rule Close". I need this as Resolved as per screenshot.


image.png

0 Karma

Ashish_Saxena3
Explorer

Yes, Its not working. No value for status.

0 Karma

Ashish_Saxena3
Explorer

Its not working, Giving me same value as:
Status="${latestEvent.violationStatus}"

0 Karma
Get Updates on the Splunk Community!

Fueling your curiosity with new Splunk ILT and eLearning courses

At Splunk Education, we’re driven by curiosity—both ours and yours! That’s why we’re committed to delivering ...

Splunk AI Assistant for SPL 1.1.0 | Now Personalized to Your Environment for Greater ...

Splunk AI Assistant for SPL has transformed how users interact with Splunk, making it easier than ever to ...

Unleash Unified Security and Observability with Splunk Cloud Platform

     Now Available on Microsoft AzureOn Demand Now Step boldly into the AI revolution with enhanced security ...