473 lines
12 KiB
JSON
473 lines
12 KiB
JSON
{
|
|
"name": "logstash",
|
|
"tags": "logging Prometheus",
|
|
"configs": {
|
|
"var": [
|
|
{
|
|
"definition": "label_values(logstash_events_in, instance)",
|
|
"name": "instance"
|
|
}
|
|
],
|
|
"panels": [
|
|
{
|
|
"type": "row",
|
|
"id": "9c88279f-7f15-4527-aa96-7df23cff9562",
|
|
"name": "Events",
|
|
"collapsed": true,
|
|
"layout": {
|
|
"h": 1,
|
|
"w": 24,
|
|
"x": 0,
|
|
"y": 0,
|
|
"i": "9c88279f-7f15-4527-aa96-7df23cff9562",
|
|
"isResizable": false
|
|
},
|
|
"panels": []
|
|
},
|
|
{
|
|
"targets": [
|
|
{
|
|
"refId": "A",
|
|
"expr": "sum(rate(logstash_events_in[1m])) by (pipeline)",
|
|
"legend": "{{pipeline}}"
|
|
}
|
|
],
|
|
"name": "Event Received Rate(/s)",
|
|
"options": {
|
|
"tooltip": {
|
|
"mode": "all",
|
|
"sort": "none"
|
|
},
|
|
"legend": {
|
|
"displayMode": "hidden"
|
|
},
|
|
"standardOptions": {},
|
|
"thresholds": {}
|
|
},
|
|
"custom": {
|
|
"drawStyle": "lines",
|
|
"lineInterpolation": "smooth",
|
|
"fillOpacity": 0.5,
|
|
"stack": "off"
|
|
},
|
|
"version": "2.0.0",
|
|
"type": "timeseries",
|
|
"layout": {
|
|
"h": 4,
|
|
"w": 12,
|
|
"x": 0,
|
|
"y": 1,
|
|
"i": "a8c3db4a-708d-405f-b788-150537e2c2e4",
|
|
"isResizable": true
|
|
},
|
|
"id": "a8c3db4a-708d-405f-b788-150537e2c2e4"
|
|
},
|
|
{
|
|
"targets": [
|
|
{
|
|
"expr": "sum(rate(logstash_events_out[1m])) by (pipeline)",
|
|
"refId": "B",
|
|
"legend": "output"
|
|
}
|
|
],
|
|
"name": "Event emmited Rate(/s)",
|
|
"options": {
|
|
"tooltip": {
|
|
"mode": "all",
|
|
"sort": "none"
|
|
},
|
|
"legend": {
|
|
"displayMode": "hidden"
|
|
},
|
|
"standardOptions": {},
|
|
"thresholds": {}
|
|
},
|
|
"custom": {
|
|
"drawStyle": "lines",
|
|
"lineInterpolation": "smooth",
|
|
"fillOpacity": 0.5,
|
|
"stack": "off"
|
|
},
|
|
"version": "2.0.0",
|
|
"type": "timeseries",
|
|
"layout": {
|
|
"h": 4,
|
|
"w": 12,
|
|
"x": 12,
|
|
"y": 1,
|
|
"i": "1e465bd5-c3ed-4f93-8df7-a980299805b4",
|
|
"isResizable": true
|
|
},
|
|
"id": "34fbd572-c71a-475b-91a9-168df988cec3"
|
|
},
|
|
{
|
|
"targets": [
|
|
{
|
|
"refId": "A",
|
|
"expr": "(sum(rate(logstash_events_queue_push_duration_in_millis[1m])) by (pipeline))/(count(sum(logstash_events_queue_push_duration_in_millis[1m]) by(ident)))",
|
|
"legend": "{{pipeline}}"
|
|
}
|
|
],
|
|
"name": "Event queue(ms)",
|
|
"options": {
|
|
"tooltip": {
|
|
"mode": "all",
|
|
"sort": "none"
|
|
},
|
|
"legend": {
|
|
"displayMode": "hidden"
|
|
},
|
|
"standardOptions": {},
|
|
"thresholds": {}
|
|
},
|
|
"custom": {
|
|
"drawStyle": "lines",
|
|
"lineInterpolation": "smooth",
|
|
"fillOpacity": 0.5,
|
|
"stack": "off"
|
|
},
|
|
"version": "2.0.0",
|
|
"type": "timeseries",
|
|
"layout": {
|
|
"h": 4,
|
|
"w": 12,
|
|
"x": 0,
|
|
"y": 5,
|
|
"i": "3c350ca9-5fcd-4605-9fee-c9834d7bb3b5",
|
|
"isResizable": true
|
|
},
|
|
"id": "1bb9f546-bd57-48fd-8221-b8b43687a12a"
|
|
},
|
|
{
|
|
"targets": [
|
|
{
|
|
"refId": "A",
|
|
"expr": "sum(rate(logstash_events_duration_in_millis[1m] )/rate(logstash_events_out[1m])) by(pipeline)",
|
|
"legend": "{{pipeline}}"
|
|
}
|
|
],
|
|
"name": "Event esp(ms)",
|
|
"options": {
|
|
"tooltip": {
|
|
"mode": "all",
|
|
"sort": "none"
|
|
},
|
|
"legend": {
|
|
"displayMode": "hidden"
|
|
},
|
|
"standardOptions": {},
|
|
"thresholds": {}
|
|
},
|
|
"custom": {
|
|
"drawStyle": "lines",
|
|
"lineInterpolation": "smooth",
|
|
"fillOpacity": 0.5,
|
|
"stack": "off"
|
|
},
|
|
"version": "2.0.0",
|
|
"type": "timeseries",
|
|
"layout": {
|
|
"h": 4,
|
|
"w": 12,
|
|
"x": 12,
|
|
"y": 5,
|
|
"i": "1b808724-fbac-4b9b-b7ce-a5725e30e4f8",
|
|
"isResizable": true
|
|
},
|
|
"id": "99f557e3-d368-4de1-b065-44e2006f1d21"
|
|
},
|
|
{
|
|
"type": "row",
|
|
"id": "5f12a28c-9ca4-4f10-aa0c-116dff2193cf",
|
|
"name": "memory",
|
|
"collapsed": true,
|
|
"layout": {
|
|
"h": 1,
|
|
"w": 24,
|
|
"x": 0,
|
|
"y": 9,
|
|
"i": "5f12a28c-9ca4-4f10-aa0c-116dff2193cf",
|
|
"isResizable": false
|
|
},
|
|
"panels": []
|
|
},
|
|
{
|
|
"targets": [
|
|
{
|
|
"refId": "A",
|
|
"expr": "increase(logstash_jvm_gc_collectors_old_collection_count)",
|
|
"legend": "old gc - {{ident}}"
|
|
},
|
|
{
|
|
"expr": "increase(logstash_jvm_gc_collectors_young_collection_count)",
|
|
"refId": "B",
|
|
"legend": "young gc - {{ident}}"
|
|
}
|
|
],
|
|
"name": "jvm gc count",
|
|
"options": {
|
|
"tooltip": {
|
|
"mode": "all",
|
|
"sort": "none"
|
|
},
|
|
"legend": {
|
|
"displayMode": "hidden"
|
|
},
|
|
"standardOptions": {},
|
|
"thresholds": {}
|
|
},
|
|
"custom": {
|
|
"drawStyle": "lines",
|
|
"lineInterpolation": "smooth",
|
|
"fillOpacity": 0.5,
|
|
"stack": "off"
|
|
},
|
|
"version": "2.0.0",
|
|
"type": "timeseries",
|
|
"layout": {
|
|
"h": 4,
|
|
"w": 12,
|
|
"x": 0,
|
|
"y": 10,
|
|
"i": "f170fe2a-fd1e-49f0-aa7b-0c3ac42894e6",
|
|
"isResizable": true
|
|
},
|
|
"id": "57867483-a372-45c9-9cd0-53aa160b57fb"
|
|
},
|
|
{
|
|
"targets": [
|
|
{
|
|
"refId": "A",
|
|
"expr": "increase(logstash_jvm_gc_collectors_old_collection_time_in_millis)",
|
|
"legend": "old gc - {{ident}}"
|
|
},
|
|
{
|
|
"expr": "increase(logstash_jvm_gc_collectors_young_collection_time_in_millis)",
|
|
"refId": "B",
|
|
"legend": "yougn gc - {{ident}}"
|
|
}
|
|
],
|
|
"name": "jvm gc time(ms)",
|
|
"options": {
|
|
"tooltip": {
|
|
"mode": "all",
|
|
"sort": "none"
|
|
},
|
|
"legend": {
|
|
"displayMode": "hidden"
|
|
},
|
|
"standardOptions": {},
|
|
"thresholds": {}
|
|
},
|
|
"custom": {
|
|
"drawStyle": "lines",
|
|
"lineInterpolation": "smooth",
|
|
"fillOpacity": 0.5,
|
|
"stack": "off"
|
|
},
|
|
"version": "2.0.0",
|
|
"type": "timeseries",
|
|
"layout": {
|
|
"h": 4,
|
|
"w": 12,
|
|
"x": 12,
|
|
"y": 10,
|
|
"i": "9ccb2af0-fa05-4a66-814d-53b77e320303",
|
|
"isResizable": true
|
|
},
|
|
"id": "e61be63c-81d6-4aab-a4de-d23ea444d802"
|
|
},
|
|
{
|
|
"targets": [
|
|
{
|
|
"refId": "A",
|
|
"expr": "logstash_jvm_mem_heap_max_in_bytes",
|
|
"legend": " max - {{ident}}"
|
|
},
|
|
{
|
|
"expr": "logstash_jvm_mem_heap_used_in_bytes",
|
|
"refId": "B",
|
|
"legend": "used - {{ident}}"
|
|
}
|
|
],
|
|
"name": "jvm heap ",
|
|
"options": {
|
|
"tooltip": {
|
|
"mode": "all",
|
|
"sort": "none"
|
|
},
|
|
"legend": {
|
|
"displayMode": "hidden"
|
|
},
|
|
"standardOptions": {},
|
|
"thresholds": {}
|
|
},
|
|
"custom": {
|
|
"drawStyle": "lines",
|
|
"lineInterpolation": "smooth",
|
|
"fillOpacity": 0.29,
|
|
"stack": "off"
|
|
},
|
|
"version": "2.0.0",
|
|
"type": "timeseries",
|
|
"layout": {
|
|
"h": 4,
|
|
"w": 12,
|
|
"x": 0,
|
|
"y": 14,
|
|
"i": "ab5fd3bd-81c8-4f3f-a403-6111dd6fce43",
|
|
"isResizable": true
|
|
},
|
|
"id": "86329740-9696-4435-bd28-120107914b40"
|
|
},
|
|
{
|
|
"targets": [
|
|
{
|
|
"refId": "A",
|
|
"expr": "logstash_jvm_mem_non_heap_committed_in_bytes",
|
|
"legend": "committed - {{ident}}"
|
|
},
|
|
{
|
|
"expr": "logstash_jvm_mem_non_heap_used_in_bytes",
|
|
"refId": "B",
|
|
"legend": "used - {{ident}}"
|
|
}
|
|
],
|
|
"name": "jvm no heap ",
|
|
"options": {
|
|
"tooltip": {
|
|
"mode": "all",
|
|
"sort": "none"
|
|
},
|
|
"legend": {
|
|
"displayMode": "hidden"
|
|
},
|
|
"standardOptions": {},
|
|
"thresholds": {}
|
|
},
|
|
"custom": {
|
|
"drawStyle": "lines",
|
|
"lineInterpolation": "smooth",
|
|
"fillOpacity": 0.29,
|
|
"stack": "off"
|
|
},
|
|
"version": "2.0.0",
|
|
"type": "timeseries",
|
|
"layout": {
|
|
"h": 4,
|
|
"w": 12,
|
|
"x": 12,
|
|
"y": 14,
|
|
"i": "ced26104-67f8-4537-b564-038d824f3be1",
|
|
"isResizable": true
|
|
},
|
|
"id": "8d82f269-d625-4da9-8dfd-33a0888c396d"
|
|
},
|
|
{
|
|
"type": "row",
|
|
"id": "9ca74da3-b31f-4ac9-ba76-397027da677d",
|
|
"name": "cpu",
|
|
"collapsed": false,
|
|
"layout": {
|
|
"h": 1,
|
|
"w": 24,
|
|
"x": 0,
|
|
"y": 18,
|
|
"i": "9ca74da3-b31f-4ac9-ba76-397027da677d",
|
|
"isResizable": false
|
|
},
|
|
"panels": [
|
|
{
|
|
"targets": [
|
|
{
|
|
"refId": "A",
|
|
"expr": "logstash_process_cpu_percent",
|
|
"legend": "{{ident}}"
|
|
}
|
|
],
|
|
"name": "cpu Utlization",
|
|
"options": {
|
|
"tooltip": {
|
|
"mode": "all",
|
|
"sort": "none"
|
|
},
|
|
"legend": {
|
|
"displayMode": "hidden"
|
|
},
|
|
"standardOptions": {
|
|
"util": "percent"
|
|
},
|
|
"thresholds": {}
|
|
},
|
|
"custom": {
|
|
"drawStyle": "lines",
|
|
"lineInterpolation": "smooth",
|
|
"fillOpacity": 0.29,
|
|
"stack": "off"
|
|
},
|
|
"version": "2.0.0",
|
|
"type": "timeseries",
|
|
"layout": {
|
|
"h": 4,
|
|
"w": 12,
|
|
"x": 0,
|
|
"y": 19,
|
|
"i": "5fffbff5-cd86-4447-9c54-1f5abdeffa5c",
|
|
"isResizable": true
|
|
},
|
|
"id": "5d507c1a-8043-4abf-9c7a-94e3c9189cc1"
|
|
},
|
|
{
|
|
"targets": [
|
|
{
|
|
"refId": "A",
|
|
"expr": "logstash_process_cpu_load_average_1m",
|
|
"legend": "1m - {{ident}}"
|
|
},
|
|
{
|
|
"expr": "logstash_process_cpu_load_average_5m",
|
|
"refId": "B",
|
|
"legend": "5m - {{ident}}"
|
|
},
|
|
{
|
|
"expr": "logstash_process_cpu_load_average_15m",
|
|
"refId": "C",
|
|
"legend": "15m - {{ident}}"
|
|
}
|
|
],
|
|
"name": "system load",
|
|
"options": {
|
|
"tooltip": {
|
|
"mode": "all",
|
|
"sort": "none"
|
|
},
|
|
"legend": {
|
|
"displayMode": "hidden"
|
|
},
|
|
"standardOptions": {},
|
|
"thresholds": {}
|
|
},
|
|
"custom": {
|
|
"drawStyle": "lines",
|
|
"lineInterpolation": "smooth",
|
|
"fillOpacity": 0.29,
|
|
"stack": "off"
|
|
},
|
|
"version": "2.0.0",
|
|
"type": "timeseries",
|
|
"layout": {
|
|
"h": 4,
|
|
"w": 12,
|
|
"x": 12,
|
|
"y": 19,
|
|
"i": "8ad83037-8df6-4f3a-936a-db9c26bc5071",
|
|
"isResizable": true
|
|
},
|
|
"id": "87f9c763-e082-416a-994d-a1ed12d58e05"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"version": "2.0.0"
|
|
}
|
|
} |