mirror of
https://github.com/AdguardTeam/AdGuardHome.git
synced 2026-03-04 00:01:12 -05:00
Ability to download logs #2863
Labels
No labels
P1: Critical
P2: High
P3: Medium
P4: Low
UI
bug
cannot reproduce
compatibility
dependencies
docker
documentation
duplicate
enhancement
enhancement
external libs
feature request
good first issue
help wanted
infrastructure
invalid
localization
needs investigation
performance
potential-duplicate
question
recurrent
research
snap
waiting for data
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/AdGuardHome#2863
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @PMunch on GitHub (Jun 24, 2021).
Problem Description
I find myself wondering about the DNS traffic on my network. And I would really like to download the full log of DNS queries/replies in a format that I can process. The log on the website is okay, but I'm not really able to search for specific record types etc. so having the full log in a script-friendly format would be nice.
Proposed Solution
Output the log as JSON, CSV, or a custom format
Alternatives Considered
Scraping the log on the web interface, but that seems a bit counter to the idea of running my own DNS server under HomeAssistant (which is how I'm using AdGuard Home). Unrelated it would also be nice if some AdGuard Home information could be made accessible to other HomeAssistant components. For example the amount of blocked queries, the total amount of queries etc. so that these could be used as part of an interface or to trigger rules.
@ainar-g commented on GitHub (Jun 25, 2021):
Hi, thanks for the feature request. This will probably depend on #2290, so it won't land earlier than that one, but once it's done, something like that should be relatively easy.
@PMunch commented on GitHub (Jun 25, 2021):
How is the log stored now? Could there just be a download raw button with whatever format it is in now?
@Aikatsui commented on GitHub (Jun 29, 2021):
See `querylog.json' file in the adguardhome folder
@Aikatsui commented on GitHub (Jun 29, 2021):
Duplicate of #1176
@ainar-g commented on GitHub (Jun 30, 2021):
I think @Aikatsui is correct, we will merge this one into the original issue. Thanks.