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
Copy file name to clipboardExpand all lines: modules/observe/proc-forward-audit-log-splunk.adoc
+6-4Lines changed: 6 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,13 +1,13 @@
1
1
[id='proc-forward-audit-log-splunk_{context}']
2
2
= Forwarding {product} audit logs to Splunk
3
3
4
-
You can use the {logging-brand-name} ({logging-short}) Operator and `ClusterLogForwarder` to capture the streamed audit logs from a {product-short} instance and forward them to the HTTPS endpoint associated with your Splunk instance.
4
+
You can use the {logging-brand-name} ({logging-short}) Operator and a `ClusterLogForwarder` instance to capture the streamed audit logs from a {product-short} instance and forward them to the HTTPS endpoint associated with your Splunk instance.
5
5
6
6
.Prerequisites
7
7
8
8
* You have a cluster running on a supported {ocp-short} version.
9
9
* You have an account with `cluster-admin` privileges.
10
-
* You have a Splunk Cloud account.
10
+
* You have a Splunk Cloud account or Splunk Enterprise installation.
. Optional: Customize your `ClusterLogForwarder` pods using the following options:
149
+
. Optional: To reduce the risk of log loss, configure your `ClusterLogForwarder` pods using the following options:
150
150
.. Define the resource requests and limits for the log collector as follows:
151
151
+
152
152
--
@@ -172,11 +172,13 @@ collector:
172
172
[source,yaml]
173
173
----
174
174
tuning:
175
-
delivery: AtLeastOnce
175
+
delivery: AtLeastOnce <1>
176
176
compression: none
177
177
minRetryDuration: 1s
178
178
maxRetryDuration: 10s
179
179
----
180
+
181
+
<1> `AtLeastOnce` delivery mode means that if the log forwarder crashes or is restarted, any logs that were read before the crash but not sent to their destination are re-sent. It is possible that some logs are duplicated after a crash.
0 commit comments