How to create a trail in AWS

0 votes

Hi Team,

I have created a web service in AWS. I want to record the API activity of the web service using the Cloud Trail service. Can anyone tell me, how can I create the Trail in AWS using the CLI command?

Nov 17, 2020 in AWS by akhtar
• 38,260 points
520 views

1 answer to this question.

0 votes

Hi@akhtar,

You can create a trail that specifies the settings for delivery of log data to an Amazon S3 bucket. The following create-trail command creates a multi-region trail named Trail1 and specifies an S3 bucket.

$ aws cloudtrail create-trail --name Trail1 --s3-bucket-name my-bucket --is-multi-region-trail
answered Nov 17, 2020 by MD
• 95,460 points

Related Questions In AWS

0 votes
2 answers

How to create a VPC in AWS?

There is another method i.e. creating an ...READ MORE

answered Feb 20, 2019 in AWS by Priyaj
• 58,020 points
1,234 views
0 votes
1 answer

How to create subnets in a VPC in AWS Console?

To create a subnet inside a VPC ...READ MORE

answered Feb 11, 2019 in AWS by Priyaj
• 58,020 points
1,059 views
0 votes
1 answer

How to create a S3 bucket in AWS Console?

To create a S3 bucket in AWS, ...READ MORE

answered Feb 13, 2019 in AWS by Priyaj
• 58,020 points
1,156 views
0 votes
1 answer
+1 vote
2 answers
0 votes
1 answer

How to create a VPC in AWS using Boto3?

Hi@akhtar, Amazon Web Services enables you to create ...READ MORE

answered Oct 9, 2020 in AWS by MD
• 95,460 points
1,640 views
0 votes
1 answer

How to create a security group in AWS with Boto3?

Hi@akhtar, You can create a new security group ...READ MORE

answered Oct 11, 2020 in AWS by MD
• 95,460 points
4,263 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP