Introducing Socket Firewall: Free, Proactive Protection for Your Software Supply Chain.Learn More
Socket
Book a DemoInstallSign in
Socket

@keboola/serverless-papertrail-logging

Package Overview
Dependencies
Maintainers
5
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@keboola/serverless-papertrail-logging

Serverless plugin for log delivery from CloudWatch Logs to Papertrail using a lambda function with log groups subscription

latest
Source
npmnpm
Version
1.1.1
Version published
Maintainers
5
Created
Source

serverless-papertrail-logging

serverless Build Status Maintainability

Serverless plugin for log delivery from CloudWatch Logs to Papertrail using a lambda function with log groups subscription.

The plugin ignores implicit Lambda logs (starting with START, END and REPORT) and adds Lambda request id to each event. Notice that it expects the logs to be in json format (and converts them to json if they are not).

Installation

  • Install npm package: yarn add @keboola/serverless-papertrail-logging --dev
  • Add plugin to your serverless.yml:
custom:
  papertrail:
    port: 1234
    host: logs.papertrailapp.com
    
plugins:
- '@keboola/serverless-papertrail-logging'

It must be put before serverless-webpack and other similar plugins to work correctly.

Host name is optional and has default value logs.papertrailapp.com.

FAQs

Package last updated on 18 Apr 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts