mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 17:22:49 +01:00
Add logrotate
This commit is contained in:
@@ -90,7 +90,7 @@ logrotate:
|
|||||||
- extension .log
|
- extension .log
|
||||||
- dateext
|
- dateext
|
||||||
- dateyesterday
|
- dateyesterday
|
||||||
/opt/so/log/fleet/*_x_log:
|
/opt/so/log/elasticfleet/*_x_log:
|
||||||
- daily
|
- daily
|
||||||
- rotate 14
|
- rotate 14
|
||||||
- missingok
|
- missingok
|
||||||
@@ -100,6 +100,16 @@ logrotate:
|
|||||||
- extension .log
|
- extension .log
|
||||||
- dateext
|
- dateext
|
||||||
- dateyesterday
|
- dateyesterday
|
||||||
|
/opt/so/log/elasticfleet/*_x_ndjson:
|
||||||
|
- daily
|
||||||
|
- rotate 14
|
||||||
|
- missingok
|
||||||
|
- copytruncate
|
||||||
|
- compress
|
||||||
|
- create
|
||||||
|
- extension .ndjson
|
||||||
|
- dateext
|
||||||
|
- dateyesterday
|
||||||
/opt/so/log/suricata/*_x_log:
|
/opt/so/log/suricata/*_x_log:
|
||||||
- daily
|
- daily
|
||||||
- rotate 14
|
- rotate 14
|
||||||
|
|||||||
@@ -63,9 +63,16 @@ logrotate:
|
|||||||
multiline: True
|
multiline: True
|
||||||
global: True
|
global: True
|
||||||
forcedType: "[]string"
|
forcedType: "[]string"
|
||||||
"/opt/so/log/fleet/*_x_log":
|
"/opt/so/log/elasticfleet/*_x_log":
|
||||||
description: List of logrotate options for this file.
|
description: List of logrotate options for this file.
|
||||||
title: /opt/so/log/fleet/*.log
|
title: /opt/so/log/elastic-fleet/*.log
|
||||||
|
advanced: True
|
||||||
|
multiline: True
|
||||||
|
global: True
|
||||||
|
forcedType: "[]string"
|
||||||
|
"/opt/so/log/elasticfleet/*_x_ndjson":
|
||||||
|
description: List of logrotate options for this file.
|
||||||
|
title: /opt/so/log/elastic-fleet/*.ndjson
|
||||||
advanced: True
|
advanced: True
|
||||||
multiline: True
|
multiline: True
|
||||||
global: True
|
global: True
|
||||||
|
|||||||
Reference in New Issue
Block a user