Skip to content

Commit

Permalink
Rename dnstap logger - breaking changes (#526)
Browse files Browse the repository at this point in the history
  • Loading branch information
dmachard authored Dec 26, 2023
1 parent 496d2d8 commit 96acd67
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,7 @@ multiplexer:
# chan-buffer-size: 65535

# # resend captured dns traffic to another dnstap collector or to unix socket
# dnstap:
# dnstapclient:
# # network transport to use: unix|tcp|tcp+tls
# transport: tcp
# # remote address
Expand Down
4 changes: 2 additions & 2 deletions docs/_examples/use-case-12.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@ multiplexer:
# Redirect DNSTap to two destinations
loggers:
- name: relay-out1
dnstap:
dnstapclient:
remote-address: 127.0.0.1
remote-port: 6001
- name: relay-out2
dnstap:
dnstapclient:
remote-address: 127.0.0.1
remote-port: 6002

Expand Down
2 changes: 1 addition & 1 deletion docs/_examples/use-case-16.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ multiplexer:
# Redirect output to a remote DNStap collector
loggers:
- name: tap
dnstap:
dnstapclient:
remote-address: 127.0.0.1
remote-port: 6002

Expand Down
2 changes: 1 addition & 1 deletion docs/_examples/use-case-5.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ multiplexer:
# Sends to another DNSTap collector with TLS
loggers:
- name: tap_tls
dnstap:
dnstapclient:
remote-address: 127.0.0.1
remote-port: 6000
tls-support: true
Expand Down
2 changes: 1 addition & 1 deletion docs/loggers/logger_dnstap.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ Options:
Default values:

```yaml
dnstap:
dnstapclient:
transport: tcp
remote-address: 10.0.0.1
remote-port: 6000
Expand Down
2 changes: 1 addition & 1 deletion pkgconfig/loggers.go
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ type ConfigLoggers struct {
OverwriteIdentity bool `yaml:"overwrite-identity"`
BufferSize int `yaml:"buffer-size"`
ChannelBufferSize int `yaml:"chan-buffer-size"`
} `yaml:"dnstap"`
} `yaml:"dnstapclient"`
TCPClient struct {
Enable bool `yaml:"enable"`
RemoteAddress string `yaml:"remote-address"`
Expand Down

0 comments on commit 96acd67

Please sign in to comment.