AWS CloudTrail vs Logstash

Need advice about which tool to choose?Ask the StackShare community!

AWS CloudTrail

328
270
+ 1
14
Logstash

10.1K
8K
+ 1
102
Add tool

AWS CloudTrail vs Logstash: What are the differences?

Developers describe AWS CloudTrail as "Record AWS API calls for your account and have log files delivered to you". With CloudTrail, you can get a history of AWS API calls for your account, including API calls made via the AWS Management Console, AWS SDKs, command line tools, and higher-level AWS services (such as AWS CloudFormation). The AWS API call history produced by CloudTrail enables security analysis, resource change tracking, and compliance auditing. The recorded information includes the identity of the API caller, the time of the API call, the source IP address of the API caller, the request parameters, and the response elements returned by the AWS service. On the other hand, Logstash is detailed as "Collect, Parse, & Enrich Data". Logstash is a tool for managing events and logs. You can use it to collect logs, parse them, and store them for later use (like, for searching). If you store them in Elasticsearch, you can view and analyze them with Kibana.

AWS CloudTrail and Logstash can be categorized as "Log Management" tools.

Some of the features offered by AWS CloudTrail are:

  • Increased Visibility- CloudTrail provides increased visibility into your user activity by recording AWS API calls. You can answer questions such as, what actions did a given user take over a given time period? For a given resource, which user has taken actions on it over a given time period? What is the source IP address of a given activity? Which activities failed due to inadequate permissions?
  • Durable and Inexpensive Log File Storage- CloudTrail uses Amazon S3 for log file storage and delivery, so log files are stored durably and inexpensively. You can use Amazon S3 lifecycle configuration rules to further reduce storage costs. For example, you can define rules to automatically delete old log files or archive them to Amazon Glacier for additional savings.
  • Easy Administration- CloudTrail is a fully managed service

On the other hand, Logstash provides the following key features:

  • Centralize data processing of all types
  • Normalize varying schema and formats
  • Quickly extend to custom log formats

"Very easy setup" is the primary reason why developers consider AWS CloudTrail over the competitors, whereas "Free" was stated as the key factor in picking Logstash.

Logstash is an open source tool with 10.3K GitHub stars and 2.78K GitHub forks. Here's a link to Logstash's open source repository on GitHub.

According to the StackShare community, Logstash has a broader approval, being mentioned in 561 company stacks & 278 developers stacks; compared to AWS CloudTrail, which is listed in 38 company stacks and 11 developer stacks.

Get Advice from developers at your company using StackShare Enterprise. Sign up for StackShare Enterprise.
Learn More
Pros of AWS CloudTrail
Pros of Logstash
  • 7
    Very easy setup
  • 3
    Good integrations with 3rd party tools
  • 2
    Very powerful
  • 2
    Backup to S3
  • 68
    Free
  • 18
    Easy but powerful filtering
  • 12
    Scalable
  • 2
    Kibana provides machine learning based analytics to log
  • 1
    Great to meet GDPR goals
  • 1
    Well Documented

Sign up to add or upvote prosMake informed product decisions

Cons of AWS CloudTrail
Cons of Logstash
    Be the first to leave a con
    • 4
      Memory-intensive
    • 1
      Documentation difficult to use

    Sign up to add or upvote consMake informed product decisions

    - No public GitHub repository available -

    What is AWS CloudTrail?

    With CloudTrail, you can get a history of AWS API calls for your account, including API calls made via the AWS Management Console, AWS SDKs, command line tools, and higher-level AWS services (such as AWS CloudFormation). The AWS API call history produced by CloudTrail enables security analysis, resource change tracking, and compliance auditing. The recorded information includes the identity of the API caller, the time of the API call, the source IP address of the API caller, the request parameters, and the response elements returned by the AWS service.

    What is Logstash?

    Logstash is a tool for managing events and logs. You can use it to collect logs, parse them, and store them for later use (like, for searching). If you store them in Elasticsearch, you can view and analyze them with Kibana.

    Need advice about which tool to choose?Ask the StackShare community!

    Jobs that mention AWS CloudTrail and Logstash as a desired skillset
    CBRE
    United Kingdom of Great Britain and Northern Ireland England Feltham
    CBRE
    United States of America Texas Richardson
    CBRE
    United States of America Texas Richardson
    What companies use AWS CloudTrail?
    What companies use Logstash?
    See which teams inside your own company are using AWS CloudTrail or Logstash.
    Sign up for StackShare EnterpriseLearn More

    Sign up to get full access to all the companiesMake informed product decisions

    What tools integrate with AWS CloudTrail?
    What tools integrate with Logstash?

    Sign up to get full access to all the tool integrationsMake informed product decisions

    Blog Posts

    May 21 2019 at 12:20AM

    Elastic

    ElasticsearchKibanaLogstash+4
    12
    4609
    GitHubPythonReact+42
    48
    40274
    GitHubMySQLSlack+44
    109
    50487
    What are some alternatives to AWS CloudTrail and Logstash?
    AWS Config
    AWS Config is a fully managed service that provides you with an AWS resource inventory, configuration history, and configuration change notifications to enable security and governance. With AWS Config you can discover existing AWS resources, export a complete inventory of your AWS resources with all configuration details, and determine how a resource was configured at any point in time. These capabilities enable compliance auditing, security analysis, resource change tracking, and troubleshooting.
    AWS X-Ray
    It helps developers analyze and debug production, distributed applications, such as those built using a microservices architecture. With this, you can understand how your application and its underlying services are performing to identify and troubleshoot the root cause of performance issues and errors. It provides an end-to-end view of requests as they travel through your application, and shows a map of your application’s underlying components.
    Splunk
    It provides the leading platform for Operational Intelligence. Customers use it to search, monitor, analyze and visualize machine data.
    Logback
    It is intended as a successor to the popular log4j project. It is divided into three modules, logback-core, logback-classic and logback-access. The logback-core module lays the groundwork for the other two modules, logback-classic natively implements the SLF4J API so that you can readily switch back and forth between logback and other logging frameworks and logback-access module integrates with Servlet containers, such as Tomcat and Jetty, to provide HTTP-access log functionality.
    Serilog
    It provides diagnostic logging to files, the console, and elsewhere. It is easy to set up, has a clean API, and is portable between recent .NET platforms.
    See all alternatives