Skip to content

LyftData Analytics

Emit selected, bounded analytics observations into LyftData’s built-in analytics store.

Analytics json

output:
lyftdata-analytics:
stream: ~
JSON
{
"output": {
"lyftdata-analytics": {
"stream": null
}
}
}

A ✓ marks a field that accepts a context variable such as {{ VARIABLE }}.

Analytics
Field Type Required Description
stream string Low-cardinality analytics stream namespace, such as orders or data_quality.
Batching
Field Type Required Description
sequence-field field (string) Optional JSON pointer or dotted path selecting a deterministic batch sequence.
Examples: data_field
batch Batch Logical batching hints for analytics observations.
Dimensions
Field Type Required Description
dimensions map (string) Low-cardinality dimensions to extract as analytics labels.
Labels
Field Type Required Description
static-labels map (string) Static labels attached to every observation emitted by this output.
Measures
Field Type Required Description
measures map (object) Numeric measures to extract from each event.
Privacy
Field Type Required Description
payload-policy Payload Policy Controls whether event payload samples may be included with analytics observations.
Time
Field Type Required Description
timestamp-field field (string) Optional JSON pointer or dotted path selecting the observation timestamp.
Examples: data_field
Field Type Required Description
fixed-size number (integer) maximum number of events in an output batch.
Examples: 42, 1.2e-10
max-bytes number (integer) Close the batch before adding an event that would make the serialized request payload exceed this many bytes.
Examples: 42, 1.2e-10
mode Mode If ‘document’ send on end of document generated by input. If ‘fixed’, use fixed_size.
Allowed values: fixed, document
timeout time-interval (string) interval after which the batch is sent, to keep throughput going (default 100ms).
Default: 100ms
Examples: 500ms, 2h
header multiline-text (string) put a header line before the batch.
footer multiline-text (string) put a header line after the last line of the batch.
use-document-marker boolean (bool) Enrich the job metadata with a document marker (for document handling in batch mode).
Default: false
wrap-as-json boolean (bool) Format the output batch as a JSON array.
Default: false
Field Type Required Description
include-sample boolean (bool) Include a bounded redacted sample payload for diagnostics. Disabled by default.
Default: false
Dimension Field
status /status
Label Value
source facebook-pages
Measure Config
records
Value Aliases Name Description
fixed fixed
document document