Dashboards & Visualizations

AWS cloudtrail data

ezamit
Explorer

How can i take the eventName , instanceId and eventTime in a Pivot Table from the search below :

index=aws_cloudtrail sourcetype="aws:cloudtrail" (eventName="StartInstances" OR eventName="StopInstances" OR eventName="StartDBInstance" OR eventName="StopDBInstance" OR eventName="StartDBCluster" OR eventName="StopDBCluster") AND (userIdentity.type="AssumedRole" AND userIdentity.sessionContext.sessionIssuer.userName="*sched*") | spath "requestParameters.instancesSet.items{}.instanceId" | search "requestParameters.instancesSet.items{}.instanceId"="i-0486ba14134c4355b" | spath "responseElements.instancesSet.items{}.instanceId" | spath "recipientAccountId"

Events :

awsRegion: us-east-1
   eventCategory: Management
   eventID: 3a80a688-fa82-4950-b823-69ffc3283862
   eventName: StartInstances
   eventSource: ec2.amazonaws.com
   eventTime: 2024-01-30T11:00:38Z
   eventType: AwsApiCall
   eventVersion: 1.09
   managementEvent: true
   readOnly: false
   recipientAccountId: XXXXXXXXXXX
   requestID: b404437a-ee56-4531-842e-1b10c01f01d3
   requestParameters: { [-]
     instancesSet: { [-]
       items: [ [-]
         { [-]
           instanceIdi-0486ba14134c4355b
         }
       ]

     }

   }

Labels (1)
0 Karma
Get Updates on the Splunk Community!

.conf25 Community Recap

Hello Splunkers, And just like that, .conf25 is in the books! What an incredible few days — full of learning, ...

Splunk App Developers | .conf25 Recap & What’s Next

If you stopped by the Builder Bar at .conf25 this year, thank you! The retro tech beer garden vibes were ...

Congratulations to the 2025-2026 SplunkTrust!

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