In my last Pihole Diary, I shared a Pihole parser to collect its logs and stored them into Elastic. In this diary, I'm sharing a dashboard to visualize the Pihole DNS data. Here are some of the output from the dashboard. Pihole OverallPihole Regex List MatchThis is the output from the Blocklist for Regex and Wildcard blocking Pihole Gravity List MatchThis is the output from the Blocklists generated by Pi-hole Gravity The JSON dashboard file can be downloaded here. [1] https://isc.sans.edu/diary/25582 ----------- |
Guy 522 Posts ISC Handler Dec 29th 2019 |
Thread locked Subscribe |
Dec 29th 2019 2 years ago |
I have a similar setup which is partially working, I have a few questions.
1. What do you use to forward the syslog data from the pihole? I have remote_syslog2 sending data to my home SOF-ELK instance https://github.com/papertrail/remote_syslog2, it works but all my log data isn't parsed 2. Can i use the remote_syslog2 in combination with this conf file? I'm still new to using elk stack and setting up these grok parsers, and i haven't figured out where to put this conf file, or i think maybe i have it in the right spot but it's not sending it in the right format. 3. Is it possible filebeats on a raspberry pi? i've tried but failed with some online guides. |
SuspiciousLink 8 Posts |
Quote |
Dec 29th 2019 2 years ago |
I have installed filebeat on CentOS and the filebeat.yml configuration is:
filebeat.inputs: - type: log enabled: true paths: - "/var/log/pihole.log" output.logstash: hosts: ["127.0.0.1:5044"] Refer this this diary: isc.sans.edu/diary/… I have published a logstash parser (to add under conf.d/pihole.conf) to send the data to ELK which can be downloaded here: handlers.sans.edu/gbruneau/elk/… I haven't tried to setup filebeat on a Rasberry pi but maybe someone else can answer that. |
Guy 522 Posts ISC Handler |
Quote |
Dec 30th 2019 2 years ago |
Thank you! i hadn't considered setting up my pihole on something other than a raspberry
|
SuspiciousLink 8 Posts |
Quote |
Dec 30th 2019 2 years ago |
Sign Up for Free or Log In to start participating in the conversation!