i created a stream that successfully fetch the logs. But whenever i create alert it throws the error – Condition was not satisfied and an Alert would not be triggered
And so i am unable to set notification and get mail for the logs.
Thanks
i created a stream that successfully fetch the logs. But whenever i create alert it throws the error – Condition was not satisfied and an Alert would not be triggered
And so i am unable to set notification and get mail for the logs.
Thanks
Hello && Welcome
For us to help you further we need some more information about your environment. For better understanding take a look here.
Thanks for you help and support
Before answer if you can tell me the proper step to set the graylog alert to get email for the logs to my email, i don’t have a mail server still i want to get log mails.
Need—
Before I created the stream i created indices with the name linux logs.
System info-----
NAME=“Ubuntu”
VERSION=“18.04.5 LTS (Bionic Beaver)”
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME=“Ubuntu 18.04.5 LTS”
VERSION_ID=“18.04”
Please post your SMTP config in graylog server.conf. Probably you didn’t setup it correctly, or your firewall is blocking port 465 to internet.
Try these:
transport_email_from_email =
to your real gmail email adress (same as used in transport_email_auth_username
can you also guide me to configure the streams, alert and notification to get mail from graylog.
thanks
Don’t forget to also change Sender (optional)
field in alert notification settings to real email address.
Still I don’t know where you have a problem, where include error message.
graylog not responded.
failed!
Hello,
If this is NOT a production server, instead of using Google have you tried to use “sendmail” or postfix on you graylog server instead of Google.
For example to simplify things I installed “sendmail”. Simple instructions to follow.
After Sendmail was started and enabled on my server I configured my Graylog Server config like this.
transport_email_enabled = true
transport_email_hostname = localhost
tansport_email_port = 25
transport_email_subject_prefix = [graylog]
transport_email_from_email = root@graylog-lab.com
transport_email_web_interface_url = https://8.8.8.8:9000
Last I configured my firewall to all mail port through
sudo ufw allow 25/tcp
Once your able to send mail you can fine tune your configuration to a more secure settings.
I assume your Graylog server will not start? If so, show us you configurations you made so we could identify any misconfigurations in your Graylog config file. If your having issues, showing your Log files would be appreciated.
If this is not the route you prefer then I would highly suggest you look over the links provided by @shoothub again. I believe you may have missed something.
Firewall is already disabled.
Hello,
To be honest that really doesn’t help troubleshoot your issue.
Might find your answer here.
Hope that helps
Thanks for help
I got mail but also get a eroor like this—
(javax.mail.internet.AddressException: Missing final ‘@domain’ in string ``“abhinav.pandey@tech-bridge.biz”’’)
Hello
These may solve you issue.