Skip to content

Commit

Permalink
reduce default value for reducer to 2s
Browse files Browse the repository at this point in the history
  • Loading branch information
dmachard committed Dec 17, 2024
1 parent e7dcde5 commit 6c53611
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions docs/transformers/transform_newdomaintracker.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ The **New Domain Tracker** transformer identifies domains that are newly observe
* `white-domains-file` (string)
> path file to domain white list, domains list can be a partial domain name with regexp expression
* `persistence-file` (string)
> enable the persistence feature by specifying a file path
```yaml
transforms:
Expand Down
2 changes: 1 addition & 1 deletion docs/transformers/transform_trafficreducer.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ transforms:
reducer:
repetitive-traffic-detector: true
qname-plus-one: false
watch-interval: 5
watch-interval: 2
unique-fields:
- dnstap.identity
- dnstap.operation
Expand Down
2 changes: 1 addition & 1 deletion pkgconfig/transformers.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ type ConfigTransformers struct {
Enable bool `yaml:"enable" default:"false"`
RepetitiveTrafficDetector bool `yaml:"repetitive-traffic-detector" default:"false"`
QnamePlusOne bool `yaml:"qname-plus-one" default:"false"`
WatchInterval int `yaml:"watch-interval" default:"5"`
WatchInterval int `yaml:"watch-interval" default:"2"`
UniqueFields []string `yaml:"unique-fields" default:"[\"dnstap.identity\", \"dnstap.operation\", \"network.query-ip\", \"network.response-ip\", \"dns.qname\", \"dns.qtype\"]"`
} `yaml:"reducer"`
Filtering struct {
Expand Down

0 comments on commit 6c53611

Please sign in to comment.