Ninety-nine Pitchers of Malt
    Wondering what’s next for npm?Check out our public roadmap! »

    @restorecommerce/winston-elasticsearch-transformer

    0.1.10 • Public • Published

    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.

    Install

    npm i @restorecommerce/winston-elasticsearch-transformer

    DownloadsWeekly Downloads

    1

    Version

    0.1.10

    License

    MIT

    Unpacked Size

    13.4 kB

    Total Files

    8

    Last publish

    Collaborators

    • avatar
    • avatar
    • avatar
    • avatar
    • avatar