Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

logdis

Package Overview
Dependencies
Maintainers
2
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

logdis

Modular log processing framework - starter module ⇒ http://logdis.io/

  • 0.2.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1
Maintainers
2
Weekly downloads
 
Created
Source

LogDis

LogDis is a modular log processing framework.

NPM

Note: it is not a logger. For that, you should use bole, bunyan, winston or something simiar.

LogDis allows you to do whatever the hell you want with your logs. It's kinda like logstash, but easier to configure and use. It can process, filter, change, and manipulate your logs, then it can save them, send them somewhere, or stash them anywhere you like.

Convenience Package

This is a convenience package that bundles the current release of 'logdis-core' and all of the official plugins.

Use this package so you can get started quickly. Use the individual plugins if you want to be specific about what to install.

Please see the documentation at http://logdis.io/ for more information.

Synopsis

const logdis = require('logdis')

const fromStdIn        = logdis.input.stdin()
const ignoreBlankLines = logdis.filter.ignoreBlankLines()
const convertToJson    = logdis.filter.toJson()
const scrub            = logdis.filter.scrub({ scrub : { 'username' : true } })
const timestamp        = logdis.filter.timestamp({ fieldname : 'timestamp', format : 'epoch' })
const toStdOut         = logdis.output.stdout()

logdis()
  .input(fromStdIn)
  .filter(ignoreBlankLines)
  .filter(convertToJson)
  .filter(scrub)
  .filter(timestamp)
  .output(toStdOut)

Author

Andrew Chilton. @andychilton

Keywords

FAQs

Package last updated on 16 Jul 2016

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc