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!

Best Strategies to Optimize Observability Costs

 Join us on Tuesday, May 6, 2025, at 11 AM PDT / 2 PM EDT for an insightful session on optimizing ...

Fueling your curiosity with new Splunk ILT and eLearning courses

At Splunk Education, we’re driven by curiosity—both ours and yours! That’s why we’re committed to delivering ...

Splunk AI Assistant for SPL 1.1.0 | Now Personalized to Your Environment for Greater ...

Splunk AI Assistant for SPL has transformed how users interact with Splunk, making it easier than ever to ...