# The elasticsearch hostname for metadata writeback # Note that every rule can have its own elasticsearch host es_host:elasticsearch
# The elasticsearch port es_port:9200
# This is the folder that contains the rule yaml files # Any .yaml file will be loaded as a rule rules_folder:rules
# How often ElastAlert will query elasticsearch # The unit can be anything from weeks to seconds run_every: seconds:5
# ElastAlert will buffer results from the most recent # period of time, in case some log sources are not in real time buffer_time: minutes:1
# Optional URL prefix for elasticsearch #es_url_prefix: elasticsearch
# Connect with TLS to elasticsearch #use_ssl: True
# Verify TLS certificates #verify_certs: True
# GET request with body is the default option for Elasticsearch. # If it fails for some reason, you can pass 'GET', 'POST' or 'source'. # See http://elasticsearch-py.readthedocs.io/en/master/connection.html?highlight=send_get_body_as#transport # for details #es_send_get_body_as: GET
# Option basic-auth username and password for elasticsearch #es_username: someusername #es_password: somepassword
# The index on es_host which is used for metadata storage # This can be a unmapped index, but it is recommended that you run # elastalert-create-index to set a mapping writeback_index:elastalert_status
# If an alert fails for some reason, ElastAlert will retry # sending the alert until this time period has elapsed alert_time_limit: days:2 elastalert/config/elastalert.yml
# The elasticsearch hostname for metadata writeback # Note that every rule can have its own elasticsearch host es_host:elasticsearch
# The elasticsearch port es_port:9200
# This is the folder that contains the rule yaml files # Any .yaml file will be loaded as a rule rules_folder:rules
# How often ElastAlert will query elasticsearch # The unit can be anything from weeks to seconds run_every: seconds:5
# ElastAlert will buffer results from the most recent # period of time, in case some log sources are not in real time buffer_time: minutes:1
# Optional URL prefix for elasticsearch #es_url_prefix: elasticsearch
# Connect with TLS to elasticsearch #use_ssl: True
# Verify TLS certificates #verify_certs: True
# GET request with body is the default option for Elasticsearch. # If it fails for some reason, you can pass 'GET', 'POST' or 'source'. # See http://elasticsearch-py.readthedocs.io/en/master/connection.html?highlight=send_get_body_as#transport # for details #es_send_get_body_as: GET
# Option basic-auth username and password for elasticsearch #es_username: someusername #es_password: somepassword
# The index on es_host which is used for metadata storage # This can be a unmapped index, but it is recommended that you run # elastalert-create-index to set a mapping writeback_index:elastalert_status
# If an alert fails for some reason, ElastAlert will retry # sending the alert until this time period has elapsed alert_time_limit: days:2 chmod777es/data chmod777elastalert/rules chmod777elastalert/rule_templates docker-composeup-d [CORP\sano@a-ngft53r34ongdocker-wk]$dockerlogselastalert-f GivingElasticsearchattimetostart... curl:(7)Failed to connect to elasticsearch port 9200:Connectionrefused curl:(7)Failed to connect to elasticsearch port 9200:Connectionrefused curl:(7)Failed to connect to elasticsearch port 9200:Connectionrefused curl:(7)Failed to connect to elasticsearch port 9200:Connectionrefused curl:(7)Failed to connect to elasticsearch port 9200:Connectionrefused curl:(7)Failed to connect to elasticsearch port 9200:Connectionrefused curl:(7)Failed to connect to elasticsearch port 9200:Connectionrefused curl:(7)Failed to connect to elasticsearch port 9200:Connectionrefused curl:(7)Failed to connect to elasticsearch port 9200:Connectionrefused curl:(7)Failed to connect to elasticsearch port 9200:Connectionrefused curl:(7)Failed to connect to elasticsearch port 9200:Connectionrefused curl:(7)Failed to connect to elasticsearch port 9200:Connectionrefused curl:(7)Failed to connect to elasticsearch port 9200:Connectionrefused curl:(7)Failed to connect to elasticsearch port 9200:Connectionrefused curl:(7)Failed to connect to elasticsearch port 9200:Connectionrefused curl:(7)Failed to connect to elasticsearch port 9200:Connectionrefused curl:(7)Failed to connect to elasticsearch port 9200:Connectionrefused curl:(7)Failed to connect to elasticsearch port 9200:Connectionrefused curl:(7)Failed to connect to elasticsearch port 9200:Connectionrefused curl:(7)Failed to connect to elasticsearch port 9200:Connectionrefused curl:(7)Failed to connect to elasticsearch port 9200:Connectionrefused curl:(7)Failed to connect to elasticsearch port 9200:Connectionrefused curl:(7)Failed to connect to elasticsearch port 9200:Connectionrefused curl:(7)Failed to connect to elasticsearch port 9200:Connectionrefused curl:(7)Failed to connect to elasticsearch port 9200:Connectionrefused curl:(7)Failed to connect to elasticsearch port 9200:Connectionrefused curl:(7)Failed to connect to elasticsearch port 9200:Connectionrefused curl:(7)Failed to connect to elasticsearch port 9200:Connectionrefused curl:(7)Failed to connect to elasticsearch port 9200:Connectionrefused curl:(7)Failed to connect to elasticsearch port 9200:Connectionrefused curl:(7)Failed to connect to elasticsearch port 9200:Connectionrefused curl:(7)Failed to connect to elasticsearch port 9200:Connectionrefused Elasticsearchisupandhealthyathttp://elasticsearch:9200 StartingElastAlert!
14:45:00.311Z INFO elastalert-server: Config:Noconfig.dev.jsonfilewasfoundin/opt/elastalert-server/config/config.dev.json. 14:45:00.320Z INFO elastalert-server: Config:Proceedingtolookfornormalconfigfile. 14:45:00.370Z INFO elastalert-server: Config:Aconfigfilewasfoundin/opt/elastalert-server/config/config.json.Usingthatconfig. 14:45:00.431Z INFO elastalert-server: Router:ListeningforGETrequeston/. 14:45:00.432Z INFO elastalert-server: Router:ListeningforGETrequeston/status. 14:45:00.433Z INFO elastalert-server: Router:ListeningforGETrequeston/status/control/:action. 14:45:00.434Z INFO elastalert-server: Router:ListeningforGETrequeston/status/errors. 14:45:00.434Z INFO elastalert-server: Router:ListeningforGETrequeston/rules. 14:45:00.439Z INFO elastalert-server: Router:ListeningforGETrequeston/rules/:id. 14:45:00.440Z INFO elastalert-server: Router:ListeningforPOSTrequeston/rules/:id. 14:45:00.441Z INFO elastalert-server: Router:ListeningforDELETErequeston/rules/:id. 14:45:00.442Z INFO elastalert-server: Router:ListeningforGETrequeston/templates. 14:45:00.442Z INFO elastalert-server: Router:ListeningforGETrequeston/templates/:id. 14:45:00.443Z INFO elastalert-server: Router:ListeningforPOSTrequeston/templates/:id. 14:45:00.444Z INFO elastalert-server: Router:ListeningforDELETErequeston/templates/:id. 14:45:00.445Z INFO elastalert-server: Router:ListeningforPOSTrequeston/test. 14:45:00.446Z INFO elastalert-server: Router:ListeningforGETrequeston/config. 14:45:00.446Z INFO elastalert-server: Router:ListeningforPOSTrequeston/config. 14:45:00.447Z INFO elastalert-server: Router:ListeningforPOSTrequeston/download. 14:45:00.448Z INFO elastalert-server: Router:ListeningforGETrequeston/metadata/:type. 14:45:00.449Z INFO elastalert-server: Router:ListeningforGETrequeston/mapping/:index. 14:45:00.449Z INFO elastalert-server: Router:ListeningforPOSTrequeston/search/:index. 14:45:00.454Z INFO elastalert-server: ProcessController:StartingElastAlert 14:45:00.454Z INFO elastalert-server: ProcessController:Creatingindex 14:45:06.677Z INFO elastalert-server: ProcessController: Elastic Version:7.4.2 Reading Elastic 6 index mappings: Readingindexmapping'es_mappings/6/silence.json' Readingindexmapping'es_mappings/6/elastalert_status.json' Readingindexmapping'es_mappings/6/elastalert.json' Readingindexmapping'es_mappings/6/past_elastalert.json' Readingindexmapping'es_mappings/6/elastalert_error.json' Newindexelastalert_statuscreated Done!
14:45:06.677Z INFO elastalert-server: ProcessController:Indexcreateexitedwithcode0 14:45:06.677Z INFO elastalert-server: ProcessController:Startingelastalertwitharguments [none] 14:45:06.689Z INFO elastalert-server: ProcessController:StartedElastalert(PID:215) 14:45:06.694Z INFO elastalert-server: Server:Serverlisteningonport3030 14:45:06.695Z INFO elastalert-server: Server:Websocketlisteningonport3333 14:45:06.696Z INFO elastalert-server: Server:Serverstarted 14:45:08.640Z INFO elastalert-server: ProcessController:0rulesloaded
14:45:24.774Z INFO elastalert-server: Routes:SuccessfullyhandledGETrequestfor'/'. 14:45:55.364Z INFO elastalert-server: Routes:SuccessfullyhandledGETrequestfor'/'. 14:46:25.876Z INFO elastalert-server: Routes:SuccessfullyhandledGETrequestfor'/'. 14:46:56.393Z INFO elastalert-server: Routes:SuccessfullyhandledGETrequestfor'/'. 14:47:26.901Z INFO elastalert-server: Routes:SuccessfullyhandledGETrequestfor'/'. 14:47:57.316Z INFO elastalert-server: Routes:SuccessfullyhandledGETrequestfor'/'. 14:48:27.759Z INFO elastalert-server: Routes:SuccessfullyhandledGETrequestfor'/'. ^C [CORP\sano@a-ngft53r34ongdocker-wk]$dockerps