/logstash/pipelines/list
Returns the list of pipelines and their metrics in the logstash.
Request
GET http://unravel-host
:3000/api/v1/logstash/pipelines/list?start_time=(date}&end_time={date}"
Path parameters
None.
Query parameters
Name | Type | Description |
---|---|---|
| string | Start date for report. Format: YYYY-MM-DD |
| string | End date for report. Format: YYYY-MM-DD |
Response body
Name | Type | Description | |
---|---|---|---|
array |
| ||
| string | Name of the pipeline. | |
| array | List of node names. | |
| sec | Time interval that specifies how often Logstash checks the config files for changes in the pipeline (in seconds). | |
| int | Maximum number of events that an individual worker thread collects before executing filters and outputs. | |
| ms | ||
| int | Current number of events that are filtered. | |
| int | Total events flowing into the selected pipeline, | |
| int | Total events flowing out of the selected pipeline, | |
| int | Number of threads that are run for filtering and output processing. | |
| string | ||
| int | Total number of reload failures. |
Example
Request:
curl -X GET "http://node.mycompany.com:3000/api/v1/logstash/pipelines/list?start_time=2020-01-01&end_time=2020-04-01" -H "accept: application/json" -H "Authorization: JWT JWT token
Response:
[ { "name": "main", "nodes": [ "node41.mycompany.com##9600##main" ], "config_reload_interval": 3000000000, "pipeline_batch_size": 125, "pipeline_duration_in_millis": 0, "pipeline_num_events_filtered": 0, "pipeline_num_events_in": 0, "pipeline_num_events_out": 0, "pipeline_num_workers": 16, "queue_type_memory": "memory", "reload_failures": 0, "reload_successes": 0 } ]