Skip to content
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

Various problems with Imports #1

Open
collse opened this issue Jan 8, 2021 · 13 comments
Open

Various problems with Imports #1

collse opened this issue Jan 8, 2021 · 13 comments
Assignees

Comments

@collse
Copy link

collse commented Jan 8, 2021

First of all thanks for creating these but I have found a few things that may require altering or documentation:

dependencies plugins:

  • magnesium-wordcloud-panel
  • flant-statusmap-panel
  • grafana-piechart-panel
  • grafana-worldmap-panel
  • grafana-sankey-panel (cannot find this one, doesnt seem to be in the official repository)

All OPNsense dashboard widgets start with tablename eg pfelk-firewall* - this doesnt deliver any data and I have found omitting this as part of the query will execute them correctly.

however, after this most dashboards still have significant defuncts with regards to widgets not showing any results (apart from the Sensei dashboards).

Grafana v7.3.3 (2489dc4d3a)
OPNsense OPNsense 20.7.7_1-amd64
Sensei: 1.62

@collse
Copy link
Author

collse commented Jan 8, 2021

actually I have just figured it out - its the naming conventions of the columns - there are none like eg unbound.client.ip its client.ip

@ghost
Copy link

ghost commented Jan 16, 2021

Please can you give me some pointers on how you got this to work with sensei, as the downloaded grafana dashboards refer to an influx database, and I cannot see any where how to configure this.
The elastic search database is on the opnsense system and is accessible.

I have managed, eventually, to get grafana to display a simple plot, using elastic search as the data source.

I have tried the pfelk approach in the past but its a bit over the top (and quite memory hungry) for me.
In addition pfelk appears not to use influx as far as I can determine.

Thanks

@b4b857f6ee
Copy link
Owner

b4b857f6ee commented Jan 29, 2021

I just saw your Issues, i'm so sorry sorry @collse , Let me check this weekend!
If you can add screen that will help a lot.

@b4b857f6ee b4b857f6ee self-assigned this Jan 29, 2021
@ghost
Copy link

ghost commented Jan 29, 2021 via email

@b4b857f6ee
Copy link
Owner

b4b857f6ee commented Jan 29, 2021

@aimdev You mean this ?
"OPNsense configuration
ELK logs, configure the ELK logs by following this : https://github.com/3ilson/pfelk
->>>>>Install Telegraf plugin and configure it to send metrics into InfluxDB
Grafana configuration
->>>>>Configure the Datasource for InfluxDB"

you want instruction how to install the influxdb in local/telegraf on opnsense/influxdb input in grfana?

@ghost
Copy link

ghost commented Jan 29, 2021 via email

@b4b857f6ee
Copy link
Owner

@aimdev
No i assume people already install it, that's why i've write :
"Requirement
ELK stack 7+
Telegraf configuration for OPNsense
Grafana and InfluxDB"

But that's ok, i can add few line to explain or link InfluxDB installation/configuration and link with InfluxDB -> Grafana and OPNsense Telegraf -> InfluxDB

@b4b857f6ee
Copy link
Owner

@collse for the pfelk you are using this : https://github.com/pfelk/docker ? And the version 6.1?

@b4b857f6ee
Copy link
Owner

@collse I have the same as you. I upgrade to the pfelk 6.1 and The grafana dashboard isn't get the data, i have to change the request, i will do it.

@b4b857f6ee
Copy link
Owner

I need to remove this from all the Dashboard
image

@b4b857f6ee
Copy link
Owner

The 3 Dashboards are updated :

  • Firewall - Dashboard
  • Firewall - Suricata
  • Firewall - Unbound

@B3DTech
Copy link

B3DTech commented Apr 9, 2021

Your 3 dashboards mentioned all still have a dependency on influxdb. Not sure why it needs it when everything is being logged into ELK.

@badsmoke
Copy link

I also have the problem that not all data from the elk are displayed.

e.g. "discover" in the dashboard "OPNsense Firewall - Dashboard" works, but the rest does not.

also i can't add the data source for "Elasticsearch-Suricata" because "No date field named @timestamp found".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants