humio / issues

Issue Tracker for Humio
4 stars 2 forks source link

Default Email Template - URL 'View in Humio' #52

Closed jlathrop closed 5 years ago

jlathrop commented 5 years ago

Twice now we have noticed that when you change and declare the PUBLIC_URL the email templates do not update for about 24 hours.

Steps to Reproduce:: 1) Create an Email Alert 2) Declare a PUBLIC_URL 3) docker rm -f humio 4) docker run --name=humio -d --restart=always -v /data:/data --net=host --env-file /etc/humio.conf humio/humio 5) Trigger an email (any event tied to the email alert) 6) The email's button to 'View in Humio' will not have your public URL 7) Wait about 24 - 48 hours, trigger the alert email again and boom... the correct URL is there.

Humio Version: 1.1.27--build-4069--sha-3d275b145

pmech commented 5 years ago

Hi @jlathrop,

Thanks for your bug report. We are looking into this and I expect a fix shortly.

@pmech

anagrius commented 5 years ago

If you add a notifier/alert before setting PUBLIC_URL your notifications link to example.com, also when you then set the public url afterwards. Fix: add the public url when a notification is fired and if it is unspecified don't create a dummy link but just the query and a notice about setting public url.

anagrius commented 5 years ago

@jlathrop We have started work on this.

mwl commented 5 years ago

@jlathrop Work has finished on this issue and a solution will be out with the next release, probably 1.1.32.