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!

Developer Spotlight with Brett Adams

In our third Spotlight feature, we're excited to shine a light on Brett—a Splunk consultant, innovative ...

Index This | What can you do to make 55,555 equal 500?

April 2025 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with this ...

Say goodbye to manually analyzing phishing and malware threats with Splunk Attack ...

In today’s evolving threat landscape, we understand you’re constantly bombarded with phishing and malware ...