aws-cloudtrail-processing-library | AWS CloudTrail Processing Library helps Java developers | AWS library
kandi X-RAY | aws-cloudtrail-processing-library Summary
kandi X-RAY | aws-cloudtrail-processing-library Summary
The AWS CloudTrail Processing Library helps Java developers to easily consume and process log files from AWS CloudTrail.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Returns the next event
- Parses the UserIdentity in CloudTrailEventData
- Parses the Addendum information
- Parses the InsightDetails object
- Downloads an S3 object URL
- Gets the buffered events
- Returns the event serializer based on the input stream
- Emits CloudTrail events
- Validate input parameters
- Returns a string representation of the status
- Compares two ProgressStatus objects
- Get the CloudTrailSource object for the given message
- Returns a string representation of the message
- Splits an Amazon S3 URL into a bucket and object key
- Creates a unique hashCode of this string
- Loads properties from a classpath property file
- Returns a string representation of the progress state
- Validates the parameters
- Validate parameters
- Returns a string representation of this exception
- Compares this object for equality
- Entry point for the sample application
- Returns a string representation of this object
- Downloads the log from the specified source
- Returns a string representation of this class
- Compares this object to another CloudTrailEvent object
aws-cloudtrail-processing-library Key Features
aws-cloudtrail-processing-library Examples and Code Snippets
Community Discussions
Trending Discussions on aws-cloudtrail-processing-library
QUESTION
I am using the AWS CloudTrail processing library to pull Cloudtrail logs from AWS. In the screenshot image of event history below (taken from the CloudTrail web console), the name of the bucket affected by a change is reflected under the column: Resource name
. How can I retrieve this same value using the aws-cloudtrail-processing-library
. The library returns the name of the bucket where CloudTrail saves the log files and not the affected bucket (highlighted). Also, even after downloading the logs from the bucket, I do not see this information.
Here is the snippet of my processing class:
...ANSWER
Answered 2019-Mar-23 at 15:35I opened this question as an issue on the AWS Cloudtrail processing engine
's GitHub repository. The answer I received was that this feature is not supported at the moment using the processing engine. Therefore, the workaround was to use Logstash
(requires cloudtrail plugin installation) to pull the cloudtrail
logs into a mongodb
server from a pre-configured AWS s3 bucket as described here, from where normal processing can be used to extract the desired events including the resources
involved.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install aws-cloudtrail-processing-library
You can use aws-cloudtrail-processing-library like any standard Java library. Please include the the jar files in your classpath. You can also use any IDE and you can run and debug the aws-cloudtrail-processing-library component as you would do with any other Java program. Best practice is to use a build tool that supports dependency management such as Maven or Gradle. For Maven installation, please refer maven.apache.org. For Gradle installation, please refer gradle.org .
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page