All Apps and Add-ons

splunk query what AWS EC2 instance is using specific AMI or AMI version

cabauah
Path Finder

Is there a quick query i can use to search which EC2 instance(s) are using a specific AMI for audit purposes

Labels (1)
0 Karma
1 Solution

aasabatini
Motivator

Hi @cabauah 

source="*:ec2_instances" sourcetype="aws:description"
|dedup id sortby -_time
|table account_id region id, instance_type image_id ip_address state
|sort +state
“The answer is out there, Neo, and it’s looking for you, and it will find you if you want it to.”

View solution in original post

cabauah
Path Finder

thank you @aasabatini 

0 Karma

aasabatini
Motivator

Hi @cabauah 

source="*:ec2_instances" sourcetype="aws:description"
|dedup id sortby -_time
|table account_id region id, instance_type image_id ip_address state
|sort +state
“The answer is out there, Neo, and it’s looking for you, and it will find you if you want it to.”
Get Updates on the Splunk Community!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...