-
Greetings, I'm working on some older RHEL servers that don't support more advanced Docker commands. I have Kibana and Elastalert working fine in docker, communicating to each other's containers. I am trying to load Elastalert on the same "network" in Docker. My Elasticsearch install is called es01, Kibana kb01. For my Elastalert (el01) container, I have es_host=es01 and ex_port=9200 as environment parameters in my docker_compose.yaml, but also set this way in my elastalert.yaml. Unfortunately, Elastalert keeps using the hostname of my server that docker is hosted on to find Elasticsearch. I can see es01 from inside the el01 container, and query the es01:9200 endpoint successfully. I was using jertel/elastalert-docker:latest for this test. I've tried jertel/elastalert2:2.1.2 now. Are there big differences? Suggestions? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
Seems I've made some traction. Probably posting this got me thinking the right way. Rubber ducking? Regardless, I am using the new jertel/elastalert2:2.1.2. I have setup in my docker_compose.yaml to find my config file and the rules folder.
It's still finding my docker host server msplwb400. Below is a my docker-compose.yaml file.
and my config file
|
Beta Was this translation helpful? Give feedback.
-
Thank you for your help. I am up and running now.
Cheers!
Dan
…On Thu, Aug 12, 2021, 12:01 PM Jason Ertel ***@***.***> wrote:
Usually not, unless you have one rule out of your collection that needs to
monitor a different cluster from the others. My thought was perhaps you had
es_host defined in that rule file and pointing to the wrong host.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#398 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACTR2PSEJ3FQU6ITGNFNH4LT4P45NANCNFSM5B7RE5FA>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email>
.
|
Beta Was this translation helpful? Give feedback.
Seems I've made some traction. Probably posting this got me thinking the right way. Rubber ducking?
Regardless, I am using the new jertel/elastalert2:2.1.2. I have setup in my docker_compose.yaml to find my config file and the rules folder.