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
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Index This | What has goals but no motivation?

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

Deep Dive: Accelerate threat investigation with Splunk’s AI Assistant in Security

AI is one of the biggest topics in the market today, and for security teams, its value goes far beyond the ...

Announcing Modern Navigation: A New Era of Splunk User Experience

We are excited to introduce the Modern Navigation feature in the Splunk Platform, available to both cloud and ...