Logstash
Stream processorlogstash
Ingest pipeline that collects, transforms and ships events to Elasticsearch and other sinks.
- Provider
- default
- Kind
- Stream processor
- Category
- Messaging
| property | type | values | required | kind default | this component |
|---|---|---|---|---|---|
| batchDelayMs | integer | — | no | 50 | inherited |
| batchSize | integer | — | no | 125 | inherited |
| checkpointIntervalSeconds | integer | — | no | — | inherited |
| deadLetterQueue | boolean | — | no | false | inherited |
| exactlyOnce | boolean | — | no | false | ▸ false |
| instances | integer | — | no | — | inherited |
| lateDataPolicy | enum | drop | shift | sideline | no | — | inherited |
| managed | boolean | — | no | false | ▸ false |
| queueType | enum | memory | persisted | no | memory | inherited |
| stateBackend | enum | memory | rocksdb | external | no | memory | ▸ memory |
| watermarkSeconds | integer | — | no | — | inherited |
| windowing | enum | none | event-time | processing-time | no | none | ▸ none |
Every rule whose selector covers this component's kind or its category. Whether a rule fires depends on the design: its properties, its edges and its groups.
windowed-aggregation-without-watermark
Event-time windows need a watermark to know when a window is complete. Without one the processor either waits forever or closes windows early and silently drops late events.
- — all of these hold:
- — the node's `windowing` is "event-time"
- — the node's `watermarkSeconds` has no value
nodes:
- { id: "logstash", component: "logstash" }Realtime Compute for Apache Flinkalibaba-flinkAmazon EventBridge Pipesaws-eventbridge-pipesAmazon Data Firehoseaws-firehoseAmazon Managed Service for Apache Flinkaws-managed-flinkAmazon OpenSearch Ingestionaws-opensearch-ingestionAzure Stream Analyticsazure-stream-analyticsCloudflare Logpushcloudflare-logpushCloudflare Pipelinescloudflare-pipelinesArroyoarroyoApache BeambeamBytewaxbytewaxDrasidrasiApache FlinkflinkKafka Streamskafka-streamsksqlDBksqldbMaterializematerializeApache NiFinifiNorikranorikraRedpanda Connectredpanda-connectRisingWaverisingwaveApache SamzasamzaSnowplowsnowplowSpark Structured Streamingspark-streamingApache StormstormGeneric stream processorstream-processorTremortremorGoogle Cloud Dataflowgoogle-dataflowManufacturing Data Enginegoogle-manufacturing-data-engineActivity Tracker Event Routingibm-activity-tracker-event-routingIBM Cloud Logs Routingibm-logs-routingIBM Cloud Metrics Routingibm-metrics-routingOCI Connector Huboci-connector-hubOCI GoldenGate Stream Analyticsoci-goldengate-stream-analytics
# yaml-language-server: $schema=../../schema/component.schema.json # Logstash: pipeline for ingest, transform and ship. logstash.yml defaults are queue.type memory # (so events in flight are lost on restart), pipeline.batch.size 125, pipeline.batch.delay 50 ms, # pipeline.workers equal to the host's CPU cores and dead_letter_queue.enable false # ("Logstash Reference, logstash.yml settings file"). schemaVersion: "1" type: "component" id: "logstash" kind: "stream-processor" provider: "default" docs: "https://www.elastic.co/docs/reference/logstash/logstash-settings-file" defaults: managed: false windowing: "none" exactlyOnce: false stateBackend: "memory" properties: queueType: type: "enum" values: ["memory", "persisted"] default: "memory" batchSize: type: "integer" default: 125 batchDelayMs: type: "integer" default: 50 deadLetterQueue: type: "boolean" default: false