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
I set logging, but elastalert.log cannot be output.
I am troubled.
Please tell me the cause and the countermeasure.
The purpose is elastalert log output.
/var/log/elastalert.log
setting
elastalert-config.yamll
#Custom logging configuration#If you want to setup your own logging configuration to log into#files as well or to Logstash and/or modify log levels, use#the configuration below and adjust to your needs.#Note: if you run ElastAlert with --verbose/--debug, the log level of#the "elastalert" logger is changed to INFO, if not already INFO/DEBUG.logging:
version: 1incremental: falsedisable_existing_loggers: falseformatters:
logline:
format: '%(asctime)s %(levelname)+8s %(name)+20s %(message)s'handlers:
console:
class: logging.StreamHandlerformatter: loglinelevel: DEBUGstream: ext://sys.stderrfile:
class : logging.FileHandlerformatter: loglinelevel: DEBUGfilename: /var/log/elastalert.logloggers:
elastalert:
level: WARNhandlers: []propagate: trueelasticsearch:
level: WARNhandlers: []propagate: trueelasticsearch.trace:
level: WARNhandlers: []propagate: true'': # root loggerlevel: WARNhandlers:
- console
- filepropagate: false
The text was updated successfully, but these errors were encountered:
negi700
changed the title
About logging settings
Unable to output elastalert.log
Oct 12, 2019
I set logging, but elastalert.log cannot be output.
I am troubled.
Please tell me the cause and the countermeasure.
The purpose is elastalert log output.
/var/log/elastalert.log
setting
elastalert-config.yamll
The text was updated successfully, but these errors were encountered: