Success Vs Failure


Successful vs failed DNS query counts.

KQL Library  /  Pi-hole

 Pi-hole success-vs-failure.kql

Successful vs failed DNS query counts.

Platforms Pi-hole
Data pihole_CL
Deep Dive  Deep Dive
// Author: Ian D. Hanley (DevSecOpsDad) | linkedin.com/in/ianhanley | devsecopsdad.com | devsecopsdadattack.com
// Compare the number of successful versus failed DNS queries
// Source: Watching The DNS Watcher: Pihole Logs In Sentinel (2025-03-30) — https://www.hanley.cloud/2025-03-30-Watching-the-DNS-Watcher-Pihole-Logs-in-Sentinel/
// Platforms: Pi-hole
// Data: pihole_CL

PiHole
| summarize Count = count() by ResponseCode  // Aggregate counts by response code
| render barchart  // Visualize the data as a bar chart