You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# -- To enable MultiProcessWorkers, set this to (> 0) the number of required workers. Defaults to 0.
165
165
# -- Set corresponding workerId using worker field against each source/log. When enabled MultiProcessWorkers, the default worker would be 0 until unless set for each source/log.
166
166
multiProcessWorkers: 0
167
+
# -- To set timezone override for all logs collected using this solution (applies only to log records without explicit timezone identifier in the record itself)
168
+
timezone:
167
169
168
170
# Configuration for oci-logging-analytics fluentd output plugin
169
171
ociLoggingAnalyticsOutputPlugin:
@@ -244,6 +246,8 @@ fluentd:
244
246
#encoding:
245
247
# Worker number in case of multi process workers enabled. If not set when multi process workers enabled, then it defaults to 0.
246
248
#worker:
249
+
# -- To set timezone override for all kubernetesSystem logs (applies only to log records without explicit timezone identifier in the record itself)
250
+
#timezone:
247
251
248
252
logs:
249
253
# -- Kube Proxy logs collection configuration
@@ -261,7 +265,9 @@ fluentd:
261
265
#ociLALogGroupID:
262
266
#encoding:
263
267
# Worker number in case of multi process workers enabled. If not set when multi process workers enabled, then it defaults to 0.
264
-
#worker:
268
+
#worker:
269
+
# -- To set timezone override for kube-proxy logs (applies only to log records without explicit timezone identifier in the record itself)
270
+
#timezone:
265
271
266
272
# -- Kube Flannel logs collection configuration
267
273
kube-flannel:
@@ -371,6 +377,9 @@ fluentd:
371
377
#encoding:
372
378
# Worker number in case of multi process workers enabled. If not set when multi process workers enabled, then it defaults to 0.
373
379
#worker:
380
+
# -- To set timezone override for all linuxSystem logs (applies only to log records without explicit timezone identifier in the record itself)
381
+
#timezone:
382
+
374
383
logs:
375
384
# -- Linux CRON logs collection configuration
376
385
cronlog:
@@ -380,6 +389,8 @@ fluentd:
380
389
ociLALogSourceName: "Linux Cron Logs"
381
390
# The regular expression pattern for the starting line in case of multi-line logs.
Copy file name to clipboardExpand all lines: docs/FAQ.md
+59Lines changed: 59 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -154,6 +154,65 @@ oci-onm-logan:
154
154
encoding: <ENCODING-VALUE>
155
155
```
156
156
157
+
### How to set timezone override ?
158
+
159
+
If a log record contains a timezone identifier, the **Logging Analytics service** will use that timezone. However, if there is no timezone information, the service defaults to **UTC**.
160
+
161
+
To override this default, use the `timezone` parameter in your `values.yaml` file. This parameter can be configured at different levels.
162
+
163
+
#### timezone override
164
+
165
+
**Note:** If a log record already has a timezone identifier, this setting may not be applicable.
166
+
167
+
* Setting `oci-onm-logan.fluentd.timezone` to **PST** applies PST as the default timezone for all logs collected via the Fluentd agent.
168
+
* Setting `oci-onm-logan.fluentd.genericContainerLogs.timezone` to **IST** applies IST as the default timezone specifically for generic container logs.
169
+
170
+
171
+
```
172
+
..
173
+
..
174
+
oci-onm-logan:
175
+
fluentd:
176
+
timezone: <Set default timezone for all logs collected via fluentd agent>
177
+
...
178
+
...
179
+
180
+
kubernetesSystem:
181
+
timezone: <Set default timezone for all Kubernetes System logs>
182
+
logs:
183
+
kube-proxy:
184
+
timezone: <Set default timezone for kube-proxy logs>
185
+
...
186
+
...
187
+
188
+
linuxSystem:
189
+
logs:
190
+
cronlog:
191
+
timezone: <Set default timezone for cron logs>
192
+
...
193
+
...
194
+
195
+
eksControlPlane:
196
+
logs:
197
+
apiserver:
198
+
timezone: <Set default timezone for EKS API server logs>
199
+
...
200
+
...
201
+
202
+
203
+
genericContainerLogs:
204
+
timezone: <Set default timezone for generic container logs>
205
+
...
206
+
...
207
+
208
+
customLogs:
209
+
custom-log-1:
210
+
timezone: <Set default timezone for custom logs>
211
+
...
212
+
...
213
+
```
214
+
215
+
#### Specific log level
157
216
### How to use Configfile based AuthZ (User Principal) instead of default AuthZ (Instance Principal) ?
158
217
159
218
**Note**: This is supported only through the helm chart based deployment.
0 commit comments