Answers variables
This commit is contained in:
parent
5bf662ce4c
commit
cacff8c1aa
1 changed files with 26 additions and 1 deletions
|
|
@ -733,7 +733,7 @@
|
||||||
},
|
},
|
||||||
"query_mode": "bucket_logs",
|
"query_mode": "bucket_logs",
|
||||||
"query_config": {
|
"query_config": {
|
||||||
"base_query": "log_type:access AND SID:${SID:lucene}",
|
"base_query": "log_type:access AND SID:${SID:lucene} AND response_status_code:${response_status_code:lucene}",
|
||||||
"bucket_aggs": [
|
"bucket_aggs": [
|
||||||
{
|
{
|
||||||
"field": "response_status_code",
|
"field": "response_status_code",
|
||||||
|
|
@ -1309,6 +1309,31 @@
|
||||||
"$__all"
|
"$__all"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "response_status_code",
|
||||||
|
"label": "Status Code",
|
||||||
|
"description": "Конкретный код ответа",
|
||||||
|
"type": "query",
|
||||||
|
"datasource": {
|
||||||
|
"type": "grafana-opensearch-datasource",
|
||||||
|
"uid": "af84zsvlp9blsa"
|
||||||
|
},
|
||||||
|
"definition": "{\"find\": \"terms\", \"field\": \"response_status_code\"}",
|
||||||
|
"query": "{\"find\": \"terms\", \"field\": \"response_status_code\"}",
|
||||||
|
"refresh": 1,
|
||||||
|
"includeAll": true,
|
||||||
|
"multi": true,
|
||||||
|
"allValue": "*",
|
||||||
|
"sort": 1,
|
||||||
|
"regex": "",
|
||||||
|
"allowCustomValue": false,
|
||||||
|
"current": {
|
||||||
|
"text": "All",
|
||||||
|
"value": [
|
||||||
|
"$__all"
|
||||||
|
]
|
||||||
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue