Logstash

class elasticsearch.client.LogstashClient(client)
Parameters:

client (BaseClient) –

delete_pipeline(*, id, error_trace=None, filter_path=None, human=None, pretty=None)

Deletes Logstash Pipelines used by Central Management

https://www.elastic.co/guide/en/elasticsearch/reference/8.13/logstash-api-delete-pipeline.html

Parameters:
  • id (str) – Identifier for the pipeline.

  • error_trace (bool | None) –

  • filter_path (str | Sequence[str] | None) –

  • human (bool | None) –

  • pretty (bool | None) –

Return type:

ObjectApiResponse[Any]

get_pipeline(*, id=None, error_trace=None, filter_path=None, human=None, pretty=None)

Retrieves Logstash Pipelines used by Central Management

https://www.elastic.co/guide/en/elasticsearch/reference/8.13/logstash-api-get-pipeline.html

Parameters:
  • id (str | Sequence[str] | None) – Comma-separated list of pipeline identifiers.

  • error_trace (bool | None) –

  • filter_path (str | Sequence[str] | None) –

  • human (bool | None) –

  • pretty (bool | None) –

Return type:

ObjectApiResponse[Any]

put_pipeline(*, id, pipeline=None, body=None, error_trace=None, filter_path=None, human=None, pretty=None)

Adds and updates Logstash Pipelines used for Central Management

https://www.elastic.co/guide/en/elasticsearch/reference/8.13/logstash-api-put-pipeline.html

Parameters:
Return type:

ObjectApiResponse[Any]