Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for remote logging #6664

Closed
3 tasks done
mfbloom opened this issue Jan 23, 2024 · 1 comment
Closed
3 tasks done

Add support for remote logging #6664

mfbloom opened this issue Jan 23, 2024 · 1 comment
Labels
duplicate Duplicate or merged issues.

Comments

@mfbloom
Copy link

mfbloom commented Jan 23, 2024

Prerequisites

  • I have checked the Wiki and Discussions and found no answer

  • I have searched other issues and found no duplicates

  • I want to request a feature or enhancement and not ask a question

The problem

DNS query results are only stored via QueryLog to a file, and there is no current method to ship the logs remotely to an external system.

Proposed solution

Give users the ability to remotely ship logs via TCP or UDP. Users will have the ability to update these settings from the UI under the General -> Logs configuration section.

In this section, the user will be able to specify if remote logging is enabled/disabled, the endpoint/port of the remote host, and the protocol to utilize (UDP/TCP). Additionally, users will be provided limited options in how the message will be formatted and the fields that can be included. This will be written so it can be expanded easily in the future.

Alternatives considered and additional information

A separate logging system could be utilized to retrieve the logs from disk. However, it would be beneficial to have the option to ship the logs directly.

I have started writing the code and am almost ready for a PR.

@ainar-g
Copy link
Contributor

ainar-g commented Jan 23, 2024

Merging into #4233, if you don't mind.

I have started writing the code and am almost ready for a PR.

The current query logging code is not the best and will probably be replaced for v0.108, see #2290. This is also a big feature that sounds like it would need a lot of support, and most users won't have use for it, so I want to be honest and say that the possibility of merging it in the near future is not that high.

@ainar-g ainar-g closed this as not planned Won't fix, can't repro, duplicate, stale Jan 23, 2024
@ainar-g ainar-g added duplicate Duplicate or merged issues. and removed feature request labels Jan 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate Duplicate or merged issues.
Projects
None yet
Development

No branches or pull requests

2 participants