Comments (6)
by the way, feel free to make a pull request :)
from go-dnscollector.
The stream_id
contains the name of your resolver identity (with dnstap collect), it's not sufficient?
from go-dnscollector.
Maybe I misunderstand what QueryIP and ResponseIP are then.
My use case is to deploy the dns-sniffer (not dnstap) collector on a bunch of machines and get client-side DNS metrics. I don't necessarily control what resolvers they use through /etc/resolv.conf and being able to have per-resolver latency metrics for example gives me better visibility over resolver performance.
Hope this helps!
from go-dnscollector.
The queryip is the source IP of the client and response IP should be the IP of the resolver.
2022-09-26T14:13:09.261751412Z denis-laptop CLIENT_QUERY NOERROR 192.168.1.17 46767 8.8.8.8 53 INET UDP 54b www.google.fr A 0.000000
2022-09-26T14:13:09.278427556Z denis-laptop CLIENT_RESPONSE NOERROR 192.168.1.17 46767 8.8.8.8 53 INET UDP 58b www.google.fr A 0.016676
I can add a new setting parameter to add the label for response IP (but not enabled by default ,you're right)
from go-dnscollector.
I'll try and take a stab at it when I get a chance. I haven't had to write golang code (yet) :-)
from go-dnscollector.
implemented in release v0.35
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 3
- 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? HOT 2
- 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.