Socket
Book a DemoInstallSign in
Socket

@restorecommerce/winston-elasticsearch-transformer

Package Overview
Dependencies
Maintainers
3
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@restorecommerce/winston-elasticsearch-transformer

Transformer function for the winston-elasticsearch log transport

latest
Source
npmnpm
Version
0.1.10
Version published
Maintainers
3
Created
Source

winston-elasticsearch-transformer

Build StatusDependenciesCoverage Status

Transformer function for the winston-elasticsearch transport, which transforms log messages in a Logstash/ Kibana optimized form and optimizes the data for the index mapping.

The following changes and transformations are applied to log messages:

  • Adds a @timestamp field with the current date/ time
  • Adds a host property with the current host name
  • Adds a rid (request-id) based on cls-rtracer

This module also comes with a suitable mapping template and an index pattern that can be imported in Kibana.

Keywords

restore

FAQs

Package last updated on 21 Mar 2020

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