2023-10-16 22:26:17 |
Dawud |
bug |
|
|
added bug |
2023-10-16 22:26:17 |
Dawud |
attachment added |
|
Screenshot 2023-10-16 at 11.25.53 pm.png https://bugs.launchpad.net/bugs/2039500/+attachment/5710069/+files/Screenshot%202023-10-16%20at%2011.25.53%E2%80%AFpm.png |
|
2023-10-16 22:26:25 |
Dawud |
kolla-ansible: assignee |
|
Dawud (dawudm) |
|
2024-03-15 11:22:01 |
Dawud |
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) |
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 this does not work out of the box |
|
2024-03-15 11:27:55 |
OpenStack Infra |
kolla-ansible: status |
New |
In Progress |
|
2024-03-15 16:09:18 |
Dawud |
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 this does not work out of the box |
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 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-]YYYY.MM.DD]` |
|
2024-04-15 15:13:28 |
OpenStack Infra |
kolla-ansible: status |
In Progress |
Fix Released |
|
2024-04-30 19:12:14 |
Maksim Malchuk |
nominated for series |
|
kolla-ansible/bobcat |
|
2024-04-30 19:12:14 |
Maksim Malchuk |
bug task added |
|
kolla-ansible/bobcat |
|
2024-04-30 19:12:14 |
Maksim Malchuk |
nominated for series |
|
kolla-ansible/caracal |
|
2024-04-30 19:12:14 |
Maksim Malchuk |
bug task added |
|
kolla-ansible/caracal |
|
2024-04-30 19:12:20 |
Maksim Malchuk |
kolla-ansible/bobcat: status |
New |
In Progress |
|
2024-06-15 07:24:10 |
Maksim Malchuk |
kolla-ansible/bobcat: status |
In Progress |
Fix Committed |
|