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!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...