-
-
Notifications
You must be signed in to change notification settings - Fork 672
New major version of Log Exporter app #1580
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
Closed
Closed
Changes from all commits
Commits
Show all changes
54 commits
Select commit
Hold shift + click to select a range
59db1c4
Fixed typo
zbalkan 5439bb1
Fixed space
zbalkan ddad746
Added README
zbalkan c1754e9
Updated version
zbalkan 8bdab01
Added responding nameserver IP to logs for cluster setups
zbalkan 7a25db9
Added domain name enrichment
zbalkan 98c3b4a
Replaced ConcurrentQueue with Channels
zbalkan 2980cde
Used RecyclableMemoryStreamManager for memory management in strategies
zbalkan 0135361
Updated README
zbalkan 3e1d3bd
Minor refactor on SyslogExporter
zbalkan 419d542
Added ConsoleExportStrategy for container loads and debugging
zbalkan ef87c9b
Updated README
zbalkan dbab7f6
Ensure graceful shutdown: disable logging, complete channel, and drai…
zbalkan 6469ef9
Cleaned up packages
zbalkan 25d511e
Fix: remove per-batch cloning and improve export safety
zbalkan b3c9b6a
Fix ExportManager.ImplementStrategyAsync concurrency bug
zbalkan f53f897
Harden EDNS Extended Error parsing (prevent remote-triggered exceptions)
zbalkan 43a5991
Make domain parsing (PSL) fully fail-safe
zbalkan ffe1644
Make _enableLogging assignment race-free by moving it to the end of i…
zbalkan 96cbbac
Ensure each export strategy becomes a no-op after disposal
zbalkan 49358e3
Added configuration validation
zbalkan 9318522
Stop swallowing exceptions in App.Dispose and log them
zbalkan ebad5f5
Fix the PSL (DomainParser) initialization so plugin startup never blo…
zbalkan f641750
Introduce a shared NDJSON serialization helper
zbalkan 77d5da4
Introduce cancellation into the export pipeline
zbalkan 587dbff
Passed CancellationTokens
zbalkan 259e710
Simplified _parser
zbalkan 01ca2d1
Added configure await for token
zbalkan 1193ee0
Replace Task.Run with proper async loop + cancellation
zbalkan b920e53
Add ADR to Dispose explaining why we don’t dispose _stdout
zbalkan 7fe820b
Fixed "ExportManager.Dispose() does not clear the dictionary nor set …
zbalkan 35c9b2c
Improve batch flushing logic in App.BackgroundWorkerAsync / DrainRema…
zbalkan 20b4a29
Batch reallocation in BackgroundWorkerAsync
zbalkan 2ac557b
Refactor LogEntry to use SIEVE-based DomainCache for domain parsing
zbalkan cbf1979
Removed additional comma at the end of NDJSON line
zbalkan 261ef81
Update Apps/LogExporterApp/LogEntry.cs
zbalkan 6431cd0
Update Apps/LogExporterApp/App.cs
zbalkan 7f520f2
Minor improvements
zbalkan c5382b1
Merge branch 'log-exporter-2' of https://github.com/zbalkan/DnsServer…
zbalkan cd75a91
Minor changes
zbalkan 8b7bcab
Major rename
zbalkan d962238
Minor renaming
zbalkan 9a96a91
Error handling
zbalkan ca25751
Fix draining logic so shutdown does not discard queued logs
zbalkan 152bba8
Fixed async issues
zbalkan 051f2aa
Simplifie DrainRemainingLogs
zbalkan 24b3968
Added enrichment pipeline
zbalkan bc9fd89
Updated README
zbalkan 37c1016
Incremented version
zbalkan 4a51fad
Major refactor
zbalkan 4599d90
Added tagging feature
zbalkan e113420
Minor optimizations on cache
zbalkan 34343ea
Typo
zbalkan 6c52654
Added ndjson flag
zbalkan File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The
requiredkeyword has been removed from these properties, but they're now initialized withstring.Emptyas default values. This changes the nullability contract - previously these were required in the JSON, now they're optional with empty string fallback. This could silently accept invalid configurations. Consider keepingrequiredto ensure proper validation at deserialization time, or add more explicit validation that these aren't empty when the target is enabled.