It would be very useful to have a simple “Export CSV” button in the Query Log.
The current Query Log is useful for investigating DNS activity, but there is no convenient way to export the displayed results for further analysis.
Ideally, the export would:
- Export the currently displayed/filtered query-log results
- Respect the selected date/time range and filters
- Include fields such as timestamp, client, domain, query type, status, and reply
- Download directly as a
.csvfile - Use the same underlying data/API as the Query Log rather than requiring users to access the filesystem
Example use case: I want to analyze my DNS activity in Excel/Google Sheets or feed it into another analysis tool. Currently this requires manually accessing Pi-hole's database/log files or using the API.
This could be as simple as an “Export CSV” button next to the existing Query Log controls.