[DOCS] Clarifies recommendation for audit index output type (#31146)
This commit is contained in:
parent
237f9b8930
commit
d0f35d204e
|
@ -1,5 +1,4 @@
|
||||||
[role="xpack"]
|
[role="xpack"]
|
||||||
[float]
|
|
||||||
[[audit-event-types]]
|
[[audit-event-types]]
|
||||||
=== Audit event types
|
=== Audit event types
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
[role="xpack"]
|
[role="xpack"]
|
||||||
[float]
|
|
||||||
[[audit-index]]
|
[[audit-index]]
|
||||||
=== Index audit output
|
=== Index audit output
|
||||||
|
|
||||||
|
@ -36,3 +35,8 @@ xpack.security.audit.index.settings:
|
||||||
number_of_shards: 1
|
number_of_shards: 1
|
||||||
number_of_replicas: 1
|
number_of_replicas: 1
|
||||||
----------------------------
|
----------------------------
|
||||||
|
|
||||||
|
NOTE: Audit events are batched for indexing so there is a lag before
|
||||||
|
events appear in the index. You can control how frequently batches of
|
||||||
|
events are pushed to the index by setting
|
||||||
|
`xpack.security.audit.index.flush_interval` in `elasticsearch.yml`.
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
[role="xpack"]
|
[role="xpack"]
|
||||||
[float]
|
|
||||||
[[audit-log-output]]
|
[[audit-log-output]]
|
||||||
=== Logfile audit output
|
=== Logfile audit output
|
||||||
|
|
||||||
|
|
|
@ -29,12 +29,7 @@ indexing by setting `xpack.security.audit.outputs` in `elasticsearch.yml`:
|
||||||
xpack.security.audit.outputs: [ index, logfile ]
|
xpack.security.audit.outputs: [ index, logfile ]
|
||||||
----------------------------
|
----------------------------
|
||||||
|
|
||||||
The `index` output type should be used in conjunction with the `logfile`
|
TIP: If you choose to enable the `index` output type, we strongly recommend that
|
||||||
output type Because it is possible for the `index` output type to lose
|
you still use the `logfile` output as the official record of events. If the
|
||||||
messages if the target index is unavailable, the `access.log` should be
|
target index is unavailable (for example, during a rolling upgrade), the `index`
|
||||||
used as the official record of events.
|
output can lose messages.
|
||||||
|
|
||||||
NOTE: Audit events are batched for indexing so there is a lag before
|
|
||||||
events appear in the index. You can control how frequently batches of
|
|
||||||
events are pushed to the index by setting
|
|
||||||
`xpack.security.audit.index.flush_interval` in `elasticsearch.yml`.
|
|
||||||
|
|
Loading…
Reference in New Issue