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!

Get Schooled with Splunk Education: Explore Our Latest Courses

At Splunk Education, we’re dedicated to providing incredible learning experiences that cater to every skill ...

Splunk AI Assistant for SPL | Key Use Cases to Unlock the Power of SPL

Splunk AI Assistant for SPL | Key Use Cases to Unlock the Power of SPL  The Splunk AI Assistant for SPL ...

Buttercup Games: Further Dashboarding Techniques (Part 5)

This series of blogs assumes you have already completed the Splunk Enterprise Search Tutorial as it uses the ...