Opensearch datasource plug-in index pattern is misconfigured
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
kolla-ansible | Status tracked in Caracal | |||||
Bobcat |
In Progress
|
Undecided
|
Unassigned | |||
Caracal |
Fix Released
|
Undecided
|
Dawud |
Bug Description
In ansible/
```
grafana_
<...Removed irrelevant code...>
opensearch:
enabled: "{{ enable_opensearch | bool }}"
data:
name: "opensearch"
type: "grafana-
access: "proxy"
url: "{{ opensearch_
jsonData:
flavor: "elasticsearch"
database: "[flog-]YYYY.MM.DD"
version: "7.0.0"
timeField: "@timestamp"
However this does not work out of the box. When you go to the datasource section of Grafana and click "Save and test" with these defaults, it fails with `OpenSearch error: no such index [[flog-
Fix proposed to branch: stable/yoga /review. opendev. org/c/openstack /kolla- ansible/ +/898736
Review: https:/