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!

Think Like an Architect: Introducing the Splunk Certified Cybersecurity Defense ...

In cybersecurity, defenders respond to threats. Architects design the systems that stop them.    As ...

Best Practices: Splunk auto adjust pipeline queue

When you enable autoAdjustQueue in Splunk, maxSize should be understood as the queue size Splunk starts with ...

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 ...