-
Notifications
You must be signed in to change notification settings - Fork 74
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Firewall Map dont work + Sensei (Zenarmor) working? #26
Comments
I was working on the same problem for 5 hours, trying to understand the whole thing. In the end it was just the processing order in graylog. So graylog first has to recieve the messages and then put it through the pipeline, where the geoip-values are added. To fix it, go to System / Configurations - Configurations and click on update under Message Processors Configuration. Make sure that the Message Filter Chain is above the Pipeline Processor. |
Hi Please could some one run Thanks |
Here is what I see on the elasticsearch container.
|
Thanks for the reply. Thanks again |
Yea, I saw that too, and am wondering why my graylog is so full. I am sending IDS logs too but I don't think that explains all of it. I actually think something is not quite right with my setup either even though I am seeing the map in the dashboard. |
My stream wasn't set to use the opnsense index, so that data from my system isn't very useful to you. Seems to indicated that the data you are seeing there doesn't explain your situation. |
I loaded a copy of the Grafana dashboard, and changed the terms to dst_ip_country_code. |
Hi As far as I can tell its from the firewall, as port 9999 is blocked and the ip address is one the device uses to phone home. Timestamp |
Hi PS just noticed opnsense telegraf (should be renamed as telegraf is an influxdb specific application) that you can feed data to graylog. I noticed you commented that you send IDS logs to graylog?, if so please can you tell me how you got it working, or the document you used. Thanks Aimee |
A few things you could try:
Then make sure GeoLite2-Country.mmdb is in /usr/share/graylog/data/data
Here's a list of IP addresses by country that you can use to test. https://lite.ip2location.com/ip-address-ranges-by-country You should get output similar to this: |
In my docker container Graylog:5.0.5 the directory /usr/share/graylog/data/data did not exist I had to docker exec -it /bin/bash |
Having same issue. Nothing containing geo being sent to the graylog stream. Using the lookup table per @bsmithio's suggestion I do get a correct lookup result. Map still empty: |
Hi, try setting your message processors in System / Configurations -> Configurations -> Message Processors Configuration to this: This should resolve that issue. |
Hi, first of all, thank you @bsmithio for your work. I was struggling with this issue also, having no firewall data shown at all in Grafana but having data in Graylog. For me it was to check the rfc5424 box in OPNsense Logging / targets what turned the logs in Graylog to have named fields (action, application_name and so on). While writing this post I just noticed that the screenshot on your blog post is missing the check on rfc checkbox while in github it is checked correctly. Unfortunately I am not that experienced on the matter and was following the blog post instructions 😄 Furthermore the root users (admin) timezone setting in docker-compose.yml is not respected and was still UTC. To fix that, I had to edit the graylog.conf (/usr/share/graylog/data/config) and set to my timezone there. Since I mapped the containers data directory to a directory on the host, I did not need to do that for the graylog.conf file solely, which would be an alternative. However this is a minor thing, but I wanted to bring it to your attention and contribute ... where I am able to. docker-compose.yml
graylog.conf
Thank you |
Hello,
first of all i want to say thank you for that great dashboard with a great instruction!
Now nearly everything works like a charm. Just the Firewall-Section dont show any data at all.
Is it possible to connect this section with Sensei (Zenarmor) from my OPNsense? If, how?
Best regards
The text was updated successfully, but these errors were encountered: