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!

Fall Into Learning with New Splunk Education Courses

Every month, Splunk Education releases new courses to help you branch out, strengthen your data science roots, ...

Super Optimize your Splunk Stats Searches: Unlocking the Power of tstats, TERM, and ...

By Martin Hettervik, Senior Consultant and Team Leader at Accelerate at Iver, Splunk MVPThe stats command is ...

How Splunk Observability Cloud Prevented a Major Payment Crisis in Minutes

Your bank's payment processing system is humming along during a busy afternoon, handling millions in hourly ...