GithubHelp home page GithubHelp logo

cikupamart / opnsense_grafana_dashboard Goto Github PK

View Code? Open in Web Editor NEW

This project forked from b4b857f6ee/opnsense_grafana_dashboard

0.0 1.0 0.0 2.63 MB

Grafana Dashboard for OPNsense and the Plugin Sensei

License: Apache License 2.0

opnsense_grafana_dashboard's Introduction

Grafana Dashboard for OPNSense and Sensei

Grafana Dashboard for OPNsense and the Plugin Sensei

Requirement

  • ELK stack 7+
  • Telegraf configuration for OPNsense
  • Grafana and InfluxDB

Grafana Plugins

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

  • Configuration of the pfelk Elasticsearch Datasources :

      			Name : Elasticsearch-Firewall
      			URL : yourELKIP:9200
      			Index name : pfelk-firewall*
      			Time field name : @timestamp
      			Version : 7.0+
      		
      			Name : Elasticsearch-Suricata
      			URL : yourELKIP:9200
      			Index name : pfelk-suricata*
      			Time field name : @timestamp
      			Version : 7.0+
      			
      			Name : Elasticsearch-unbound
      			URL : yourELKIP:9200
      			Index name : pfelk-unbound*
      			Time field name : @timestamp
      			Version : 7.0+
      			
      			You can use the Name you want and filter it in the dashboard your import, in the Settings -> Variables -> Elasticsearch
      			-> Adn modify the "Instance name filter" for exemple here for matching suricata : /.*Suricata.*/
    

Dashboard OPNSense :

InfluxDB : OPNSense - Firewall
ELK : Firewall - Dashboard | Firewall - Suricata | Firewall - Unbound

Configure Sensei by using external ELK (like the one you have previously install) Or you can use the internal ELK who is install during the Sensei installation. Just configure a Port translation from your administration interface or OPNsense on the port 9200 to the 127.0.0.1:9200

  • Configuration of the pfelk Elasticsearch Datasources : Name : Elasticsearch-Sensei URL : yourELKIP:9200 Index name : * Time field name : start_time Version : 7.0+ Or 5.6+(for Internal OPNsense Sensei ELK)

Grafana dashboard on grafana.com

OPNSense Firewall

alt text

OPNSense Firewall Dashboard

alt text

OPNSense Firewall Suricata

alt text

OPNSense Firewall Unbound

alt text

OPNSense Sensei Block

alt text

OPNSense Sensei DNS

alt text

OPNSense Sensei Reports

alt text

OPNSense Sensei Threats

alt text

OPNSense Sensei Web

alt text

Link : https://opnsense.org/ OPNsense is an OSS project © Deciso B.V. 2015-2020 - All rights reserved https://www.sunnyvalley.io/sensei/ Sunny Valley Networks name and logo are trademarks of Sunny Valley Cyber Security Inc. All other brand names, product names, or trademarks belong to their respective owners.

opnsense_grafana_dashboard's People

Contributors

b4b857f6ee avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.