Configure log level field for the Grafana OpenSearch datasource

Change-Id: Ic38469661323fbce438c70bd1b9301e9f7db8030
This commit is contained in:
Dawud 2024-03-18 21:10:09 +00:00
parent 9afc9da226
commit 7102c9cc9c
2 changed files with 7 additions and 0 deletions

View File

@ -69,6 +69,7 @@ grafana_data_sources:
database: "{{ opensearch_log_index_prefix }}-*"
version: "2.11.1"
timeField: "@timestamp"
logLevelField: "log_level"
##########
# Grafana

View File

@ -0,0 +1,6 @@
---
features:
- |
Configures the log level field for the Grafana OpenSearch datasource. This
allows for logs to be coloured based on log level. To apply this you need
to delete the datasource and reconfigure grafana.