mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 17:22:49 +01:00
37 lines
1.6 KiB
Properties
37 lines
1.6 KiB
Properties
status = error
|
|
name = LogstashPropertiesConfig
|
|
|
|
#appender.console.type = Console
|
|
#appender.console.name = plain_console
|
|
#appender.console.layout.type = PatternLayout
|
|
#appender.console.layout.pattern = [%d{ISO8601}][%-5p][%-25c] %m%n
|
|
|
|
#appender.json_console.type = Console
|
|
#appender.json_console.name = json_console
|
|
#appender.json_console.layout.type = JSONLayout
|
|
#appender.json_console.layout.compact = true
|
|
#appender.json_console.layout.eventEol = true
|
|
|
|
#Define logging settings.
|
|
appender.rolling.type = RollingFile
|
|
appender.rolling.name = rolling
|
|
appender.rolling.fileName = /var/log/logstash/logstash.log
|
|
appender.rolling.layout.type = PatternLayout
|
|
appender.rolling.layout.pattern = [%d{ISO8601}][%-5p][%-25c] %.10000m%n
|
|
appender.rolling.filePattern = /var/log/logstash/logstash-%d{yyyy-MM-dd}.log
|
|
appender.rolling.policies.type = Policies
|
|
appender.rolling.policies.time.type = TimeBasedTriggeringPolicy
|
|
appender.rolling.policies.time.interval = 1
|
|
appender.rolling.policies.time.modulate = true
|
|
appender.rolling.strategy.type = DefaultRolloverStrategy
|
|
appender.rolling.strategy.action.type = Delete
|
|
appender.rolling.strategy.action.basepath = /var/log/logstash
|
|
appender.rolling.strategy.action.condition.type = IfFileName
|
|
appender.rolling.strategy.action.condition.glob = logstash-*.log
|
|
appender.rolling.strategy.action.condition.nested_condition.type = IfLastModified
|
|
appender.rolling.strategy.action.condition.nested_condition.age = 7D
|
|
rootLogger.level = info
|
|
rootLogger.appenderRef.rolling.ref = rolling
|
|
#rootLogger.level = ${sys:ls.log.level}
|
|
#rootLogger.appenderRef.console.ref = ${sys:ls.log.format}_console
|