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!

Splunk AI Assistant for SPL | Key Use Cases to Unlock the Power of SPL

Splunk AI Assistant for SPL | Key Use Cases to Unlock the Power of SPL  The Splunk AI Assistant for SPL ...

Buttercup Games: Further Dashboarding Techniques (Part 5)

This series of blogs assumes you have already completed the Splunk Enterprise Search Tutorial as it uses the ...

Customers Increasingly Choose Splunk for Observability

For the second year in a row, Splunk was recognized as a Leader in the 2024 Gartner® Magic Quadrant™ for ...