Skip to content
Snippets Groups Projects
Commit 065820ae authored by Zuul's avatar Zuul Committed by Gerrit Code Review
Browse files

Merge "Update Grafana OpenSearch datasource configuration"

parents 345759c0 9afc9da2
No related branches found
No related tags found
No related merge requests found
...@@ -65,9 +65,9 @@ grafana_data_sources: ...@@ -65,9 +65,9 @@ grafana_data_sources:
access: "proxy" access: "proxy"
url: "{{ opensearch_internal_endpoint }}" url: "{{ opensearch_internal_endpoint }}"
jsonData: jsonData:
flavor: "elasticsearch" flavor: "OpenSearch"
database: "[flog-]YYYY.MM.DD" database: "{{ opensearch_log_index_prefix }}-*"
version: "7.0.0" version: "2.11.1"
timeField: "@timestamp" timeField: "@timestamp"
########## ##########
......
---
fixes:
- |
Updates the default Grafana OpenSearch datasource configuration to use
values for OpenSearch that work out of the box. Replaces the Elasticsearch
values that were previously being used. The new configuration can be
applied by deleting your datasource and reconfiguring Grafana through kolla
ansible. In order to prevent dashboards from breaking when the datasource
is deleted, one should use `datasource variables
<https://grafana.com/docs/grafana/latest/dashboards/variables/add-template-variables/#add-a-data-source-variable>`__
in Grafana. See bug `2039500 <https://bugs.launchpad.net/kolla-ansible/+bug/2039500>`__.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment