-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Monitoring] Re-enable logstash tests (#59815)
* Revert "Skip all logstash pipeline tests" This reverts commit d8aa1fb. * Reenable tests and fix them based on recent changes * Fix more tests Co-authored-by: Elastic Machine <[email protected]>
- Loading branch information
1 parent
2d0bf9d
commit 73d1013
Showing
6 changed files
with
64 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
54 changes: 53 additions & 1 deletion
54
x-pack/test/api_integration/apis/monitoring/logstash/fixtures/multicluster_pipelines.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,53 @@ | ||
{"pipelines":[{"id":"uno","metrics":{"throughput":{"bucket_size":"10 seconds","timeRange":{"min":1573485225266,"max":1573485425399},"metric":{"app":"logstash","field":"logstash_stats.pipelines.events.out","label":"Pipeline Throughput","description":"Number of events emitted per second by the Logstash pipeline at the outputs stage.","units":"e/s","format":"0,0.[00]","hasCalculation":true,"isDerivative":false},"data":[[1573485230000,0]]},"nodesCount":{"bucket_size":"10 seconds","timeRange":{"min":1573485225266,"max":1573485425399},"metric":{"app":"logstash","field":"logstash_stats.logstash.uuid","label":"Pipeline Node Count","description":"Number of nodes on which the Logstash pipeline is running.","units":"","format":"0,0.[00]","hasCalculation":true,"isDerivative":false},"data":[[1573485230000,1]]}},"latestThroughput":0,"latestNodesCount":1}],"clusterStatus":{"node_count":1,"events_in_total":0,"events_out_total":0,"avg_memory":1037959168,"avg_memory_used":203687512,"max_uptime":863288,"pipeline_count":1,"queue_types":{"memory":1,"persisted":0},"versions":["8.0.0"]},"totalPipelineCount":1} | ||
{ | ||
"pipelines": [ | ||
{ | ||
"id": "uno", | ||
"metrics": { | ||
"throughput": { | ||
"bucket_size": "10 seconds", | ||
"timeRange": { "min": 1573485225266, "max": 1573485425399 }, | ||
"metric": { | ||
"app": "logstash", | ||
"field": "logstash_stats.pipelines.events.out", | ||
"label": "Pipeline Throughput", | ||
"description": "Number of events emitted per second by the Logstash pipeline at the outputs stage.", | ||
"units": "e/s", | ||
"format": "0,0.[00]", | ||
"hasCalculation": false, | ||
"isDerivative": true | ||
}, | ||
"data": [[1573485230000, 0]] | ||
}, | ||
"nodesCount": { | ||
"bucket_size": "10 seconds", | ||
"timeRange": { "min": 1573485225266, "max": 1573485425399 }, | ||
"metric": { | ||
"app": "logstash", | ||
"field": "logstash_stats.logstash.uuid", | ||
"label": "Pipeline Node Count", | ||
"description": "Number of nodes on which the Logstash pipeline is running.", | ||
"units": "", | ||
"format": "0,0.[00]", | ||
"hasCalculation": true, | ||
"isDerivative": false | ||
}, | ||
"data": [[1573485230000, 1]] | ||
} | ||
}, | ||
"latestThroughput": 0, | ||
"latestNodesCount": 1 | ||
} | ||
], | ||
"clusterStatus": { | ||
"node_count": 1, | ||
"events_in_total": 0, | ||
"events_out_total": 0, | ||
"avg_memory": 1037959168, | ||
"avg_memory_used": 203687512, | ||
"max_uptime": 863288, | ||
"pipeline_count": 1, | ||
"queue_types": { "memory": 1, "persisted": 0 }, | ||
"versions": ["8.0.0"] | ||
}, | ||
"totalPipelineCount": 1 | ||
} |
2 changes: 1 addition & 1 deletion
2
x-pack/test/api_integration/apis/monitoring/logstash/fixtures/pipelines.json
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters