Comments (1)
can we read the raw dnstap file and generate JSON output or YAML all when records are added to DNSTAP file in realtime?
JSON output is supported.
YAML not yet (you can open an issue for that too)
Regarding the file tailing functionality, right now it's only supported in plain text mode.
It's not the same approach but can you try with the config example ?
global:
trace:
verbose: false
multiplexer:
collectors:
- name: ingest
file-ingestor:
watch-dir: /tmp
watch-mode: dnstap
loggers:
- name: console
stdout:
mode: json
routes:
- from: [ingest]
to: [console]
from go-dnscollector.
Related Issues (20)
- dnstap logger: print_dnstap_frame() error with dnstap-ldns utility HOT 1
- dns parser: not enough data to decode rdata answer - fragmented tcp message
- question: what does ops metrics represent HOT 2
- pcap/sniffer collector - support tcp fast open
- Feature - Basic auth for prometheus logger HOT 10
- file ingestor: panic with pcap ip fragmentation HOT 1
- outputs channel blocked if loggers does not read it with dnstap and tcp client
- Feature request: custom field boundaries / delimiters for the text-format template HOT 5
- transform: detect duplicate queries/replies and log only once by indicating the number of repetitions HOT 1
- feat: add makefile to the project HOT 1
- feat: use the build info metrics from prometheus library
- fix: remove uneeded flags in arguments
- Problem with dnstap logger - forwarded data isn't recorded in Loki since version 0.30.0 HOT 6
- fix: goreleaser github assets renaming
- fix: doc link error 404 not found on metrics
- suspicious directive not working in text format
- TIMEOUT "answers" logged as CLIENT_QUERY HOT 3
- Problem with netlib on FreeBSD. No SetSock_RCVBUF HOT 1
- Ignoring some timestamp information on dnstap HOT 1
- xdp sniffer has interface name hardcoded HOT 1
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.