Skip to content

Commit 8667250

Browse files
authored
[FIX] Log messages from Prometheus Operator pod redirected to OpenSearch viya_ops-* (#790)
1 parent 7f0a165 commit 8667250

File tree

3 files changed

+7
-6
lines changed

3 files changed

+7
-6
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# SAS Viya Monitoring for Kubernetes
22
## Unreleased
33
* **Logging**
4+
* [FIX] Log messages from Prometheus Operator pod redirected to OpenSearch viya_ops-* (rather than viya_logs-*) index
45
* [UPGRADE] OpenSearch and OpenSearch Dashboards upgraded from 2.19.2 to 2.19.3
56
* [UPGRADE] OpenSearch Helm chart upgraded from 2.34.0 to 2.35.0.
67
* [UPGRADE] OpenSearch Dashboards Helm chart upgraded from 2.30.0 to 2.31.0

logging/fb/fluent-bit_config.configmap_azmonitor.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ data:
66
[FILTER]
77
Name modify
88
Match *
9-
Set fb_configMap_version 0.2.27
9+
Set fb_configMap_version 0.2.28candidate
1010
#Set clusterID NOT_SET
1111
# initialized to N to force level standardization
1212
Set __temp_level_fixed N
@@ -975,7 +975,7 @@ data:
975975
Name tail
976976
Alias tail4logs
977977
Path /var/log/containers/*.log
978-
Exclude_Path /var/log/containers/v4m-*.log
978+
Exclude_Path /var/log/containers/v4m-*.log, /var/log/containers/prometheus-v4m-*.log
979979
Parser ${KUBERNETES_RUNTIME_LOGFMT}
980980
Tag kube.*
981981
Multiline.parser ${LOG_MULTILINE_PARSER}
@@ -991,7 +991,7 @@ data:
991991
# NOTE: ** METALOGGING **
992992
Name tail
993993
Alias tail4ops
994-
Path /var/log/containers/v4m-*.log
994+
Path /var/log/containers/v4m-*.log, /var/log/containers/prometheus-v4m-*.log
995995
Parser ${KUBERNETES_RUNTIME_LOGFMT}
996996
Tag opsK.*
997997
Refresh_Interval 5

logging/fb/fluent-bit_config.configmap_opensearch.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ data:
66
[FILTER]
77
Name modify
88
Match *
9-
Set fb_configMap_version 0.2.27
9+
Set fb_configMap_version 0.2.28candidate
1010
#Set clusterID NOT_SET
1111
# initialized to N to force level standardization
1212
Set __temp_level_fixed N
@@ -977,7 +977,7 @@ data:
977977
Name tail
978978
Alias tail4logs
979979
Path /var/log/containers/*.log
980-
Exclude_Path /var/log/containers/v4m-*.log
980+
Exclude_Path /var/log/containers/v4m-*.log, /var/log/containers/prometheus-v4m-*.log
981981
Parser ${KUBERNETES_RUNTIME_LOGFMT}
982982
Tag kube.*
983983
Multiline.parser ${LOG_MULTILINE_PARSER}
@@ -993,7 +993,7 @@ data:
993993
# NOTE: ** METALOGGING **
994994
Name tail
995995
Alias tail4ops
996-
Path /var/log/containers/v4m-*.log
996+
Path /var/log/containers/v4m-*.log, /var/log/containers/prometheus-v4m-*.log
997997
Parser ${KUBERNETES_RUNTIME_LOGFMT}
998998
Tag opsK.*
999999
Refresh_Interval 5

0 commit comments

Comments
 (0)