cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

severity (Warn/Critical) and violation status variable

Ashish.Saxena
Discoverer

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

9 REPLIES 9

Mario.Morelli
Architect

Hi Ashish

here you go

Severity

${latestEvent.severity}

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

${latestEvent.violationStatus}

 

Ciao



Found something helpful? Click the Accept as Solution button to help others find answers faster.
Liked something? Click the Thumbs Up button.

Learn more about me in the Community Member Spotlight Q & A

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

Hi Ashish

Can you clarify.
Is severity variable working?

Are you staying they violation status doesn't work?


Found something helpful? Click the Accept as Solution button to help others find answers faster.
Liked something? Click the Thumbs Up button.

Learn more about me in the Community Member Spotlight Q & A

Yes, Its not working. No value for status.

Ashish.Saxena
Discoverer

Please provide me variable if any other

 

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

Do we have any other variable to get the data

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?



Found something helpful? Click the Accept as Solution button to help others find answers faster.
Liked something? Click the Thumbs Up button.

Learn more about me in the Community Member Spotlight Q & A

@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.

@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.


AshishSaxena_0-1710351124072.png