# Howto Use Elasticsearch with PiHole DNS

**URL:** <https://discuss.elastic.co/t/howto-use-elasticsearch-with-pihole-dns/157240>\
**Category:** Elasticsearch\
**Created:** [November 18, 2018, 7:10pm UTC](https://discuss.elastic.co/t/howto-use-elasticsearch-with-pihole-dns/157240 "2018-11-18T19:10:39Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![FredM](https://avatars.discourse-cdn.com/v4/letter/f/df705f/32.png) [@FredM](https://discuss.elastic.co/u/FredM)\
**Post date:** [November 18, 2018, 7:10pm UTC](https://discuss.elastic.co/t/howto-use-elasticsearch-with-pihole-dns/157240/1 "2018-11-18T19:10:39Z")

</div>

PiHole is a free utility for monitoring and blocking adware and malware, and also in providing you with insight on the type of traffic on your network. Getting this data into Elasticsearch is the purpose for our post :

> **[How to Build Your Own DNS Sinkhole and DNS Logs Monitoring System | Masterful...](https://www.politoinc.com/single-post/2018/02/05/How-to-Build-Your-Own-DNS-Sinkhole-and-DNS-Logs-Monitoring-System)**
>
> How to build a DNS logs pipeline taking advantage of Pi-Hole and the ELK stack for security analytics. DNS logs monitoring and threat hunting on the cheap!

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [November 18, 2018, 7:40pm UTC](https://discuss.elastic.co/t/howto-use-elasticsearch-with-pihole-dns/157240/2 "2018-11-18T19:40:04Z")

</div>

Thanks for sharing.

I did the similar for my own setup but I used the Ingest API instead 🙂

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [December 16, 2018, 7:40pm UTC](https://discuss.elastic.co/t/howto-use-elasticsearch-with-pihole-dns/157240/3 "2018-12-16T19:40:05Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
