-
-
Notifications
You must be signed in to change notification settings - Fork 53
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* move to go-pcap for bpf compile * updated docs
- Loading branch information
Showing
17 changed files
with
210 additions
and
141 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
--- | ||
title: "Parquet" | ||
linkTitle: "Apache Parquet" | ||
weight: 4 | ||
--- | ||
|
||
Parquet output module is designed to send `dnsmonster` logs to parquet files. | ||
|
||
|
||
## Configuration Parameters | ||
```ini | ||
[parquet_output] | ||
; What should be written to parquet file. options: | ||
; 0: Disable Output | ||
; 1: Enable Output without any filters | ||
; 2: Enable Output and apply skipdomains logic | ||
; 3: Enable Output and apply allowdomains logic | ||
; 4: Enable Output and apply both skip and allow domains logic | ||
parquetoutputtype = 0 | ||
|
||
; Path to output folder. Used if parquetoutputtype is not none | ||
parquetoutputpath = | ||
|
||
; Number of records to write to parquet file before flushing | ||
parquetflushbatchsize = 10000 | ||
|
||
; Number of workers to write to parquet file | ||
parquetworkercount = 4 | ||
|
||
; Size of the write buffer in bytes | ||
parquetwritebuffersize = 256000 | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
--- | ||
title: "VictoriaLogs" | ||
linkTitle: "VictoriaLogs" | ||
weight: 4 | ||
--- | ||
|
||
VictoriaLogs output module is designed to send `dnsmonster` logs to [victorialogs](https://docs.victoriametrics.com/victorialogs/index.html). | ||
|
||
|
||
## Configuration Parameters | ||
```ini | ||
[victoria_output] | ||
; Victoria Output Endpoint. example: http://localhost:9428/insert/jsonline?_msg_field=rcode_id&_time_field=time | ||
victoriaoutputendpoint = | ||
|
||
; What should be written to Microsoft Victoria. options: | ||
; 0: Disable Output | ||
; 1: Enable Output without any filters | ||
; 2: Enable Output and apply skipdomains logic | ||
; 3: Enable Output and apply allowdomains logic | ||
; 4: Enable Output and apply both skip and allow domains logic | ||
victoriaoutputtype = 0 | ||
|
||
; Victoria Output Proxy in URI format | ||
victoriaoutputproxy = | ||
|
||
; Number of workers | ||
victoriaoutputworkers = 8 | ||
|
||
; Victoria Batch Size | ||
victoriabatchsize = 100 | ||
|
||
; Interval between sending results to Victoria if Batch size is not filled. Any value larger than zero takes precedence over Batch Size | ||
victoriabatchdelay = 0s | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
--- | ||
title: "Zinc Search" | ||
linkTitle: "Zinc Search" | ||
weight: 4 | ||
--- | ||
|
||
Zinc Search output module is designed to send `dnsmonster` logs to [zincsearch](https://github.com/zincsearch/zincsearch). | ||
|
||
|
||
## Configuration Parameters | ||
```ini | ||
|
||
[zinc_output] | ||
; What should be written to zinc. options: | ||
; 0: Disable Output | ||
; 1: Enable Output without any filters | ||
; 2: Enable Output and apply skipdomains logic | ||
; 3: Enable Output and apply allowdomains logic | ||
; 4: Enable Output and apply both skip and allow domains logic | ||
zincoutputtype = 0 | ||
|
||
; index used to save data in Zinc | ||
zincoutputindex = dnsmonster | ||
|
||
; zinc endpoint address, example: http://127.0.0.1:9200/api/default/_bulk. Used if zincOutputType is not none | ||
zincoutputendpoint = | ||
|
||
; zinc username, example: [email protected]. Used if zincOutputType is not none | ||
zincoutputusername = | ||
|
||
; zinc password, example: password. Used if zincOutputType is not none | ||
zincoutputpassword = | ||
|
||
; Send data to Zinc in batch sizes | ||
zincbatchsize = 1000 | ||
|
||
; Interval between sending results to Zinc if Batch size is not filled | ||
zincbatchdelay = 1s | ||
|
||
; Zing request timeout | ||
zinctimeout = 10s | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.