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
Motivator

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
Motivator
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
Motivator

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!

Accelerating Observability as Code with the Splunk AI Assistant

We’ve seen in previous posts what Observability as Code (OaC) is and how it’s now essential for managing ...

Integrating Splunk Search API and Quarto to Create Reproducible Investigation ...

 Splunk is More Than Just the Web Console For Digital Forensics and Incident Response (DFIR) practitioners, ...

Congratulations to the 2025-2026 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...