Comments (6)
A regression has been introduced in the v0.30.0 in the sniffer with the add of the new feature "IP defrag and TCP reassembly support" => The timestamp is outdated so ignored by loki.
A new beta release has been generated https://github.com/dmachard/go-dns-collector/releases/tag/v0.31.0-beta4 , can you test-it ?
By the way since 0.31.0, a new buffer has been introduced in the dnstap logger to avoid memory leak in some cases, the buffer can be configured (flush-interval and buffer-size )
- name: dnstap
dnstap:
remote-address: 192.168.1.210
remote-port: 6000
retry-interval: 5
flush-interval: 5
buffer-size: 100
and the new config of the sniffer (with transformers)
multiplexer:
collectors:
- name: sniff
afpacket-sniffer:
port: 53
device:
transforms:
latency:
measure-latency: true
queries-timeout: 2
I will add more tests to avoid this type of regression in the future
from go-dnscollector.
Thanks to sharing this issue and use case.
I will try to reproduce in my side
from go-dnscollector.
Just tested 0.31.0-beta4 and data is now getting to Loki as it used to with versions =< 0.29.0, thanks!
You said that the issue has been introduced in the sniffer and not in the DNStap logger as I previously thought. I've run tests using a sniffer collector and a Loki logger and I could swear the data was reaching its destination. I'm not overruling the possibility of experimenting error though. I can run some more tests if you want.
from go-dnscollector.
Thank for the quick test.
The issue occurs only with sniffer collector+dnstap logger , a specific function ToDnstap is used by the dnstap logger to send messages - witch is not the case with the Loki logger.
from go-dnscollector.
I get it, thanks for the clarification.
from go-dnscollector.
The release v0.31.0 is out, enjoy.
from go-dnscollector.
Related Issues (20)
- Please add connection "peer" to default text-format directives HOT 3
- High volumes of duplicate entries when using Fluentd as the logger HOT 4
- fluentd logger: add more docs
- support go1.22
- Can't build for arm 32 bit HOT 5
- Implement new domain tracking HOT 1
- implement unique response tracking
- elasticsearch: implement backoff algo on send data
- file logger: buffer still full despite "chan-buffer-size" changes HOT 10
- Proposal for Prometheus Metric to Monitor Dropped Packets HOT 2
- Option to selectively include fields included in File output HOT 5
- Error while configuring relabel-configs for Lokiclient logger HOT 2
- add support for the new dnstap protobuf
- kafka producer: invalid text format
- Configuration checks breaks freeform keys HOT 4
- does kafka logger support multi address?
- panic: interface conversion: gopacket.Layer is nil with fragmented packets HOT 5
- xdp: update libbpf to 1.4.0
- Update BPF filter to support fragments packets
- xdp: add support for IP fragment
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from go-dnscollector.