Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Health Rule Violations for 24 months #115

Closed
Sravan921 opened this issue Sep 8, 2020 · 2 comments
Closed

Health Rule Violations for 24 months #115

Sravan921 opened this issue Sep 8, 2020 · 2 comments

Comments

@Sravan921
Copy link

Hi,

Is there any way to pull health rule violations for a single app from the past 24 months ? if yes could you please provide the job file configuration?

Thanks,
Sravan

@danielodievich
Copy link
Contributor

Hi there,

Note that the health rule violations are not stored for a year. I believe the retention rate on all the events, including health rule violations, is 3 months.

However, if you want
Input\Events=true,
Input\EventsSelectionCriteria = ["POLICY_OPEN_WARNING", "POLICY_ETC", ...]
https://github.com/Appdynamics/AppDynamics.DEXTER/blob/master/ProcessingSteps/JobStepBase.cs#L151-L160
https://github.com/Appdynamics/AppDynamics.DEXTER/wiki/Job-File#eventsselectioncriteria-array-of-strings
Output=Events=true,
TimeFrame (https://github.com/Appdynamics/AppDynamics.DEXTER/wiki/Job-File#timeframe) - you can do things like
"TimeFrame": {
"MarkDate": "TODAY",
"MarkTime": "NOW",
"Duration": "-P1Y"
},
Specify Target for that app
Everything else in Input to false.

@bhjelmar
Copy link
Contributor

Closing as this is dependent on controller configuration settings, not Dexter.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants