Opensearch datasource plug-in index pattern is misconfigured

Bug #2039500 reported by Dawud
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
kolla-ansible
New
Undecided
Dawud

Bug Description

In ansible/roles/grafana/defaults/main.yml we have specified a YYYY.MM.DD pattern for the index (flog-YYYY.MM.DD):

```
grafana_data_sources:
<...Removed irrelevant code...>
  opensearch:
    enabled: "{{ enable_opensearch | bool }}"
    data:
      name: "opensearch"
      type: "grafana-opensearch-datasource"
      access: "proxy"
      url: "{{ opensearch_internal_endpoint }}"
      jsonData:
        flavor: "elasticsearch"
        database: "[flog-]YYYY.MM.DD"
        version: "7.0.0"
        timeField: "@timestamp"

However for grafana to template the pattern for the index a pattern, more specifically a daily pattern, needs to be specified (as shown in screenshot)

Revision history for this message
Dawud (dawudm) wrote :
Changed in kolla-ansible:
assignee: nobody → Dawud (dawudm)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to kolla-ansible (stable/yoga)

Fix proposed to branch: stable/yoga
Review: https://review.opendev.org/c/openstack/kolla-ansible/+/898736

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.