Capture events like "EC2s spun up for 3 to 5 hours and decommissioned " in Kubernetes discovery

Niks1
Tera Contributor

Hi Experts,

How to capture events like "EC2s spun up for 3 to 5 hours and decommissioned "
Could it be possible to capture event services (that exist for a short duration and outside the duration of regular discovery schedule timings) in Kubernetes discovery.

If yes then How ?

Regards,

Niks

2 REPLIES 2

Ram Devanathan1
ServiceNow Employee
ServiceNow Employee

the k8s event pattern will need to be enabled - this will ensure that events are dispatched to servicenow when there's creation and deletion of resources. custom reports/ queries can be created on the necessary resource tables to identify creation time and when state changed to 'absent'.

 

Event driven discovery in general is your answer - are you not aware of this capability in ServiceNow - or would it not work for some other reason?

 

Ram

I was aware but not sure on how to enable it and make it work.
Thanks for the information will test it and update here if that works.