[[reference-logstash]] == client.logstash //////// =========================================================================================================================== || || || || || || || ██████╗ ███████╗ █████╗ ██████╗ ███╗ ███╗███████╗ || || ██╔══██╗██╔════╝██╔══██╗██╔══██╗████╗ ████║██╔════╝ || || ██████╔╝█████╗ ███████║██║ ██║██╔████╔██║█████╗ || || ██╔══██╗██╔══╝ ██╔══██║██║ ██║██║╚██╔╝██║██╔══╝ || || ██║ ██║███████╗██║ ██║██████╔╝██║ ╚═╝ ██║███████╗ || || ╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝╚═════╝ ╚═╝ ╚═╝╚══════╝ || || || || || || This file is autogenerated, DO NOT send pull requests that changes this file directly. || || You should update the script that does the generation, which can be found in: || || https://github.com/elastic/elastic-client-generator-js || || || || You can run the script with the following command: || || npm run elasticsearch -- --version || || || || || || || =========================================================================================================================== //////// ++++ ++++ [discrete] [[client.logstash.deletePipeline]] == `client.logstash.deletePipeline()` Deletes a pipeline used for Logstash Central Management. {ref}/logstash-api-delete-pipeline.html[{es} documentation] [discrete] === Function signature [source,ts] ---- (request: LogstashDeletePipelineRequest, options?: TransportRequestOptions) => Promise ---- [discrete] === Request [source,ts,subs=+macros] ---- interface LogstashDeletePipelineRequest extends <> { id: <> } ---- [discrete] === Response [source,ts,subs=+macros] ---- type LogstashDeletePipelineResponse = boolean ---- [discrete] [[client.logstash.getPipeline]] == `client.logstash.getPipeline()` Retrieves pipelines used for Logstash Central Management. {ref}/logstash-api-get-pipeline.html[{es} documentation] [discrete] === Function signature [source,ts] ---- (request: LogstashGetPipelineRequest, options?: TransportRequestOptions) => Promise ---- [discrete] === Request [source,ts,subs=+macros] ---- interface LogstashGetPipelineRequest extends <> { id?: <> } ---- [discrete] === Response [source,ts,subs=+macros] ---- type LogstashGetPipelineResponse = Record<<>, <>> ---- [discrete] [[client.logstash.putPipeline]] == `client.logstash.putPipeline()` Creates or updates a pipeline used for Logstash Central Management. {ref}/logstash-api-put-pipeline.html[{es} documentation] [discrete] === Function signature [source,ts] ---- (request: LogstashPutPipelineRequest, options?: TransportRequestOptions) => Promise ---- [discrete] === Request [source,ts,subs=+macros] ---- interface LogstashPutPipelineRequest extends <> { id: <> pipeline?: <> } ---- [discrete] === Response [source,ts,subs=+macros] ---- type LogstashPutPipelineResponse = boolean ----