serverless-offline VS awslogs

Compare serverless-offline vs awslogs and see what are their differences.

serverless-offline

Emulate AWS λ and API Gateway locally when developing your Serverless project (by dherault)

awslogs

AWS CloudWatch logs for Humans™ (by jorgebastida)
Our great sponsors
  • SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
serverless-offline awslogs
18 8
5,124 4,749
- -
8.7 0.0
1 day ago 24 days ago
JavaScript Python
MIT License GNU General Public License v3.0 or later
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

serverless-offline

Posts with mentions or reviews of serverless-offline. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-07-24.

awslogs

Posts with mentions or reviews of awslogs. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-07-01.
  • Logging in Python Like a Pro
    11 projects | news.ycombinator.com | 1 Jul 2022
    Using the official CLI (aws logs get-log-events) or https://github.com/jorgebastida/awslogs is pretty close to SSH-ing and grepping.
  • Tail log groups with CW Logs Insights?
    1 project | /r/aws | 22 Jun 2022
  • I use cw, which is OSS to tail AWS CloudWatch Logs
    2 projects | dev.to | 27 Jul 2021
    cw is a native executable targeting your OS, and not needed external dependencies such as pip and npm. Compared to awslogs which is famous helpful tool for CloudWatch Logs1, cw is written in golang and faster.
  • What are you using to analyze/visualize CloudFront logs?
    2 projects | /r/aws | 19 Apr 2021
    Its a command line tool but some people I know also use awslogs
  • Ask HN: Does anyone else find the AWS Lambda developer experience poor?
    23 projects | news.ycombinator.com | 18 Apr 2021
    Not a full solution, but when I was doing this I really got to love the awslogs utility:

    https://github.com/jorgebastida/awslogs

    It allows you to stream Cloudwatch logs from the command line, so you can grep them, save them to files, etc... (The web based Cloudwatch interface is terrible.)

    Another suggestion is to try to modularize the core business logic in your lambda such that you separate the lambda-centric stuff from the rest of it. Obviously, though, if "the rest of it" is hitting other AWS services, you're going to hit the same testing roadblock.

    Or you can try mocking, which may or may not provide much value for you. There's a python library for that, (moto), but it's not 100% up to date wrt AWS services/interfaces, last I had checked. Might be worth a try though.

    https://github.com/spulec/moto

  • Datadog alternatives
    3 projects | /r/devops | 28 Mar 2021
    Cloudwatch Logs is pretty meh visually, but awslogs can give you a pretty good `tail -f`-like experience, and Insights is pretty good. Cloudwatch Metric Filters give you a 'StatsD'-like experience, in that you can log out a certain message or code and then use its appearance as a metric.
  • Cloud watch logs from console always show tail. How to show head without having to click ‘show more’ over and over again?
    1 project | /r/aws | 8 Mar 2021
    Check out https://github.com/jorgebastida/awslogs , you can define a `--start`, and it also has a `--watch`, and can be piped the `grep` or whatever you want. It's a pretty flexible tool.
  • DevOps tools you should have on your belt
    18 projects | dev.to | 22 Jan 2021
    📖 awslogs - a simple command-line tool for querying groups, streams, and events from Amazon CloudWatch logs.

What are some alternatives?

When comparing serverless-offline and awslogs you can also consider the following projects:

supertest - 🕷 Super-agent driven library for testing node.js HTTP servers using a fluent API. Maintained for @forwardemail, @ladjs, @spamscanner, @breejs, @cabinjs, and @lassjs.

Loguru - Python logging made (stupidly) simple

aws-lambda-dotnet - Libraries, samples and tools to help .NET Core developers develop AWS Lambda functions.

cw - The best way to tail AWS CloudWatch Logs from your terminal

docker-lambda - Docker images and test runners that replicate the live AWS Lambda environment

GoAccess - GoAccess is a real-time web log analyzer and interactive viewer that runs in a terminal in *nix systems or through your browser.

bref - Serverless PHP on AWS Lambda

aws-codebuild-docker-images - Official AWS CodeBuild repository for managed Docker images http://docs.aws.amazon.com/codebuild/latest/userguide/build-env-ref.html

sst - Build modern full-stack applications on AWS

faasd - A lightweight & portable faas engine

Sequelize - Feature-rich ORM for modern Node.js and TypeScript, it supports PostgreSQL (with JSON and JSONB support), MySQL, MariaDB, SQLite, MS SQL Server, Snowflake, Oracle DB (v6), DB2 and DB2 for IBM i.

aws-lambda-runtime-interface-emulator