mustash.logstash
– Logstash pipeline conversion utilities¶
- mustash.logstash.parse_from_config(raw: str, /) Pipeline ¶
Parse the pipeline from a logstash pipeline.
- mustash.logstash.render_as_filter(pipeline: Pipeline, /) list ¶
Render a list of processors as a Logstash filter body.
- Parameters:
processors – Pipeline to render.
pipeline (Pipeline)
- Returns:
Rendered pipeline.
- Raises:
ValueError – The pipeline is not renderable as a Logstash pipeline.
- Return type: