Added new graph
This commit is contained in:
parent
ef9199d0c6
commit
1dd1407e7f
1 changed files with 199 additions and 4 deletions
|
|
@ -128,6 +128,11 @@
|
|||
"width": 24,
|
||||
"x_offset": 0,
|
||||
"y_offset": 34
|
||||
},
|
||||
{
|
||||
"panel_key": "overview_errors_by_container",
|
||||
"width": 24,
|
||||
"x_offset": 0
|
||||
}
|
||||
],
|
||||
"inter_domain_panels": [],
|
||||
|
|
@ -882,7 +887,7 @@
|
|||
},
|
||||
"query_mode": "bucket_logs",
|
||||
"query_config": {
|
||||
"base_query": "log_type:access",
|
||||
"base_query": "log_type:access AND TENANT:${tenant:lucene}",
|
||||
"bucket_aggs": [
|
||||
{
|
||||
"field": "node_name.keyword",
|
||||
|
|
@ -904,7 +909,8 @@
|
|||
},
|
||||
"type": "date_histogram"
|
||||
}
|
||||
]
|
||||
],
|
||||
"vl_base_query": "log_type:access TENANT:in(${tenant:csv})"
|
||||
}
|
||||
},
|
||||
"overview_tenant_per_node": {
|
||||
|
|
@ -988,7 +994,7 @@
|
|||
},
|
||||
"query_mode": "bucket_logs",
|
||||
"query_config": {
|
||||
"base_query": "log_type:access",
|
||||
"base_query": "log_type:access AND node_name:${node_name:lucene}",
|
||||
"bucket_aggs": [
|
||||
{
|
||||
"field": "TENANT.keyword",
|
||||
|
|
@ -1010,7 +1016,8 @@
|
|||
},
|
||||
"type": "date_histogram"
|
||||
}
|
||||
]
|
||||
],
|
||||
"vl_base_query": "log_type:access node_name:in(${node_name:csv})"
|
||||
}
|
||||
},
|
||||
"overview_uri_top15": {
|
||||
|
|
@ -1605,6 +1612,194 @@
|
|||
},
|
||||
"vl_interval": "1m",
|
||||
"interval": "1m"
|
||||
},
|
||||
"overview_errors_by_container": {
|
||||
"type": "barchart",
|
||||
"title": "Errors by Container SID: ${SID:raw} / status ${response_status_code:raw}",
|
||||
"description": "Количество ошибок по контейнерам (agent_name)",
|
||||
"transparent": true,
|
||||
"gridPos": {
|
||||
"h": 12,
|
||||
"w": 24,
|
||||
"x": 0,
|
||||
"y": 1
|
||||
},
|
||||
"interval": "1m",
|
||||
"fieldConfig": {
|
||||
"defaults": {
|
||||
"color": {
|
||||
"mode": "palette-classic"
|
||||
},
|
||||
"custom": {
|
||||
"axisBorderShow": false,
|
||||
"axisCenteredZero": false,
|
||||
"axisColorMode": "text",
|
||||
"axisGridShow": true,
|
||||
"axisLabel": "",
|
||||
"axisPlacement": "auto",
|
||||
"fillOpacity": 80,
|
||||
"gradientMode": "none",
|
||||
"hideFrom": {
|
||||
"legend": false,
|
||||
"tooltip": false,
|
||||
"viz": false
|
||||
},
|
||||
"lineWidth": 1,
|
||||
"scaleDistribution": {
|
||||
"type": "linear"
|
||||
},
|
||||
"thresholdsStyle": {
|
||||
"mode": "off"
|
||||
}
|
||||
},
|
||||
"mappings": [],
|
||||
"thresholds": {
|
||||
"mode": "absolute",
|
||||
"steps": [
|
||||
{
|
||||
"color": "green",
|
||||
"value": 0
|
||||
},
|
||||
{
|
||||
"color": "red",
|
||||
"value": 80
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"overrides": [
|
||||
{
|
||||
"matcher": {
|
||||
"id": "byRegexp",
|
||||
"options": "/^2\\d\\d.*/"
|
||||
},
|
||||
"properties": [
|
||||
{
|
||||
"id": "color",
|
||||
"value": {
|
||||
"fixedColor": "green",
|
||||
"mode": "fixed"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"matcher": {
|
||||
"id": "byRegexp",
|
||||
"options": "/^3\\d\\d.*/"
|
||||
},
|
||||
"properties": [
|
||||
{
|
||||
"id": "color",
|
||||
"value": {
|
||||
"fixedColor": "blue",
|
||||
"mode": "fixed"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"matcher": {
|
||||
"id": "byRegexp",
|
||||
"options": "/^4\\d\\d.*/"
|
||||
},
|
||||
"properties": [
|
||||
{
|
||||
"id": "color",
|
||||
"value": {
|
||||
"fixedColor": "orange",
|
||||
"mode": "fixed"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"matcher": {
|
||||
"id": "byRegexp",
|
||||
"options": "/^499.*/"
|
||||
},
|
||||
"properties": [
|
||||
{
|
||||
"id": "color",
|
||||
"value": {
|
||||
"fixedColor": "dark-orange",
|
||||
"mode": "fixed"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"matcher": {
|
||||
"id": "byRegexp",
|
||||
"options": "/^5\\d\\d.*/"
|
||||
},
|
||||
"properties": [
|
||||
{
|
||||
"id": "color",
|
||||
"value": {
|
||||
"fixedColor": "red",
|
||||
"mode": "fixed"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"options": {
|
||||
"barRadius": 0.1,
|
||||
"barWidth": 0.8,
|
||||
"fullHighlight": false,
|
||||
"groupWidth": 0.7,
|
||||
"legend": {
|
||||
"calcs": [
|
||||
"mean",
|
||||
"max",
|
||||
"sum"
|
||||
],
|
||||
"displayMode": "table",
|
||||
"placement": "right",
|
||||
"showLegend": true,
|
||||
"sortBy": "Name",
|
||||
"sortDesc": true
|
||||
},
|
||||
"orientation": "auto",
|
||||
"showValue": "auto",
|
||||
"stacking": "normal",
|
||||
"tooltip": {
|
||||
"hideZeros": false,
|
||||
"mode": "single",
|
||||
"sort": "none"
|
||||
},
|
||||
"xTickLabelRotation": 0,
|
||||
"xTickLabelSpacing": 100
|
||||
},
|
||||
"query_mode": "bucket_logs",
|
||||
"query_config": {
|
||||
"base_query": "log_type:access AND SID:${SID:lucene} AND response_status_code:${response_status_code:lucene}",
|
||||
"vl_base_query": "log_type:access SID:in(${SID:csv}) response_status_code:${response_status_code:raw}",
|
||||
"bucket_aggs": [
|
||||
{
|
||||
"field": "agent_name",
|
||||
"id": "4",
|
||||
"settings": {
|
||||
"min_doc_count": "1",
|
||||
"order": "desc",
|
||||
"orderBy": "1",
|
||||
"size": "20"
|
||||
},
|
||||
"type": "terms"
|
||||
},
|
||||
{
|
||||
"field": "@timestamp",
|
||||
"id": "2",
|
||||
"settings": {
|
||||
"interval": "auto",
|
||||
"trimEdges": "1"
|
||||
},
|
||||
"type": "date_histogram"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"queries": {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue