Skip to contents

Transforms a lgr::LogEvent object into a list suitable for ElasticSearch ingestion.

Usage

transform_event_elasticsearch(event)

ElasticSearchLayout

Format

An object of class LayoutJson (inherits from Layout, R6) of length 17.

Arguments

event

A lgr::LogEvent object.

Value

A list of key-value pairs ready to be serialized to JSON for ElasticSearch