@@ -142,6 +142,8 @@ grafana:
142142 mountPath : /etc/secrets/keycloak-credentials
143143 secretName : grafana-keycloak-credentials
144144 readOnly : true
145+ plugins :
146+ - grafana-opensearch-datasource
145147 datasources :
146148 datasource.yaml :
147149 apiVersion : 1
@@ -171,3 +173,81 @@ grafana:
171173 jsonData :
172174 handleGrafanaManagedAlerts : false
173175 implementation : prometheus
176+ - name : logs-kube
177+ type : grafana-opensearch-datasource
178+ uid : os-logs-kube
179+ basicAuth : true
180+ basicAuthUser : $OS_LOGGING_USERNAME
181+ url : https://logging.logging:9200/
182+ access : proxy
183+ jsonData :
184+ database : logs-kube*
185+ flavour : opensearch
186+ version : 2.11.0
187+ pplEnabled : true
188+ timeField : " @timetamp"
189+ logLevelField : " "
190+ logMessageField : " "
191+ maxConcurrentShardRequests : 5
192+ serverless : false
193+ secureJsonData :
194+ basicAuthPassword : $OS_LOGGING_PASSWORD
195+ - name : logs-hosts
196+ type : grafana-opensearch-datasource
197+ uid : os-logs-hosts
198+ basicAuth : true
199+ basicAuthUser : $OS_LOGGING_USERNAME
200+ url : https://logging.logging:9200/
201+ access : proxy
202+ jsonData :
203+ database : logs-hosts*
204+ flavour : opensearch
205+ version : 2.11.0
206+ pplEnabled : true
207+ timeField : " @timetamp"
208+ logLevelField : " "
209+ logMessageField : " "
210+ maxConcurrentShardRequests : 5
211+ serverless : false
212+ secureJsonData :
213+ basicAuthPassword : $OS_LOGGING_PASSWORD
214+ - name : logs-firewall
215+ type : grafana-opensearch-datasource
216+ uid : os-logs-firewall
217+ basicAuth : true
218+ basicAuthUser : $OS_LOGGING_USERNAME
219+ url : https://logging.logging:9200/
220+ access : proxy
221+ jsonData :
222+ database : logs-firewall*
223+ flavour : opensearch
224+ version : 2.11.0
225+ pplEnabled : true
226+ timeField : " @timetamp"
227+ logLevelField : " "
228+ logMessageField : " "
229+ maxConcurrentShardRequests : 5
230+ serverless : false
231+ secureJsonData :
232+ basicAuthPassword : $OS_LOGGING_PASSWORD
233+ - name : logs-network
234+ type : grafana-opensearch-datasource
235+ uid : os-logs-network
236+ basicAuth : true
237+ basicAuthUser : $OS_LOGGING_USERNAME
238+ url : https://logging.logging:9200/
239+ access : proxy
240+ jsonData :
241+ database : logs-network*
242+ flavour : opensearch
243+ version : 2.11.0
244+ pplEnabled : true
245+ timeField : " @timetamp"
246+ logLevelField : " "
247+ logMessageField : " "
248+ maxConcurrentShardRequests : 5
249+ serverless : false
250+ secureJsonData :
251+ basicAuthPassword : $OS_LOGGING_PASSWORD
252+ envFromSecrets :
253+ - name : grafana-opensearch-credentials
0 commit comments