OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • English Forums »
  • General Discussion »
  • OPNsense and Graylog
« previous next »
  • Print
Pages: [1]

Author Topic: OPNsense and Graylog  (Read 7761 times)

Sugarfly

  • Newbie
  • *
  • Posts: 1
  • Karma: 0
    • View Profile
OPNsense and Graylog
« on: March 14, 2017, 10:32:31 am »
Hello.

I feel stupid.
My OPNsense is up and running.
I setup a graylog server because I found it hard to work with the logginginterface from the OPNsense. (maybe that is my real problem)
So now my greylog server is getting the logs from the OPNsene but it is impossible to work with that input.

For example my graylog get this input en mass:

2017-03-14 10:19:12.000   filterlog:
filterlog: 57,16777216,,0,em0,match,pass,out,4,0x0,,63,35571,0,DF,17,udp,74, {MY IP} ,8.8.8.8,30480,53,54

but I can't search or filter because this is a single line of data.

Is there anything wrong with the OPNsense sending the data?
Does anyone know wich field is what information?
Logged

fabian

  • Hero Member
  • *****
  • Posts: 2769
  • Karma: 200
  • OPNsense Contributor (Language, VPN, Proxy, etc.)
    • View Profile
    • Personal Homepage
Re: OPNsense and Graylog
« Reply #1 on: March 14, 2017, 12:17:46 pm »
There is nothing wrong with the log line. There is only one issue in your setup: You are collecting the logs but you are not processing it. As a hint: There is a software called Logstash which can manipulate logging data (for example add field information) and put it into another output like an elastic search server which can be queried by kibana.
Another hint: If you read the Line from left to right, you will find out, that the left are system information and then it will be the data from layer 1 to layer 4. Note that the lines look different in case of IPv6.
Logged

Nnyan

  • Jr. Member
  • **
  • Posts: 91
  • Karma: 8
    • View Profile
Re: OPNsense and Graylog
« Reply #2 on: March 15, 2017, 09:16:13 pm »
Soon as I have some time I want to spin up a VM and install an ELK (Elasticsearch, Logstash, and Kibana) Stack on it.  I don't know the differences between greylog and Kibana so I don't know which one would better suit your needs. I was planning on using the Bitnami ELK stack since they have an OVA.
« Last Edit: March 15, 2017, 09:21:08 pm by Nnyan »
Logged

xiaotuzi

  • Newbie
  • *
  • Posts: 8
  • Karma: 0
    • View Profile
Re: OPNsense and Graylog
« Reply #3 on: November 05, 2017, 08:48:42 am »
Did you get the Elk stack up and running ?
Logged

MasterXBKC

  • Jr. Member
  • **
  • Posts: 66
  • Karma: 6
  • Infragard Member
    • View Profile
    • PFMonitor Central Firewall Management
Re: OPNsense and Graylog
« Reply #4 on: November 07, 2017, 11:53:18 pm »
Just throwing this out there, I developed PFMonitor for just this very reason, it not only captures the data, but indexes it, makes it searchable, and cross-reference able.

https://pfmonitor.com

Logged
Member of FBIs Infragard Program
Certified Information Systems Security Officer
Certified Vulnerability Assessor
PFMonitor Remote Management, Backup, & Live Monitoring for PFSense and OPNSense
OPNSense Units: R720XD XL, R720XD XL, R720XD, R720XD, R710, DL360G7, QNAP

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • English Forums »
  • General Discussion »
  • OPNsense and Graylog
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2024 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2