This repository has been archived by the owner on Nov 19, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* http-output fix empty body in retry again * bitfanDoc fix bad paths on windows * add output-tcp * added glob support for configs now available `config = [ "/etc/bitfan/conf.d/*.conf"]` * output-tcp fix tests
- Loading branch information
1 parent
d452f47
commit 744278b
Showing
9 changed files
with
465 additions
and
6 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
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,78 @@ | ||
{ | ||
"Behavior": "", | ||
"Doc": "", | ||
"DocShort": "", | ||
"ImportPath": "github.com/vjeantet/bitfan/processors/output-tcp", | ||
"Name": "tcpoutput", | ||
"Options": { | ||
"Doc": "", | ||
"Options": [ | ||
{ | ||
"Alias": "codec", | ||
"DefaultValue": "\"line\"", | ||
"Doc": "The codec used for input data. Input codecs are a convenient method for decoding\nyour data before it enters the input, without needing a separate filter in your bitfan pipeline", | ||
"ExampleLS": "", | ||
"Name": "Codec", | ||
"PossibleValues": [ | ||
"\"json\"", | ||
"\"line\"", | ||
"\"pp\"", | ||
"\"rubydebug\"" | ||
], | ||
"Required": false, | ||
"Type": "codec" | ||
}, | ||
{ | ||
"Alias": "host", | ||
"DefaultValue": null, | ||
"Doc": "", | ||
"ExampleLS": "", | ||
"Name": "Host", | ||
"PossibleValues": null, | ||
"Required": true, | ||
"Type": "string" | ||
}, | ||
{ | ||
"Alias": "port", | ||
"DefaultValue": null, | ||
"Doc": "", | ||
"ExampleLS": "", | ||
"Name": "Port", | ||
"PossibleValues": null, | ||
"Required": true, | ||
"Type": "uint" | ||
}, | ||
{ | ||
"Alias": "keepalive", | ||
"DefaultValue": "true", | ||
"Doc": "Turn this on to enable HTTP keepalive support. Default value is true", | ||
"ExampleLS": "", | ||
"Name": "KeepAlive", | ||
"PossibleValues": null, | ||
"Required": false, | ||
"Type": "bool" | ||
}, | ||
{ | ||
"Alias": "request_timeout", | ||
"DefaultValue": "30", | ||
"Doc": "Timeout (in seconds) for the entire request. Default value is 60", | ||
"ExampleLS": "", | ||
"Name": "RequestTimeout", | ||
"PossibleValues": null, | ||
"Required": false, | ||
"Type": "uint" | ||
}, | ||
{ | ||
"Alias": "retry_interval", | ||
"DefaultValue": "10", | ||
"Doc": "", | ||
"ExampleLS": "", | ||
"Name": "RetryInterval", | ||
"PossibleValues": null, | ||
"Required": false, | ||
"Type": "uint" | ||
} | ||
] | ||
}, | ||
"Ports": [] | ||
} |
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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,71 @@ | ||
# TCPOUTPUT | ||
|
||
|
||
## Synopsys | ||
|
||
|
||
| SETTING | TYPE | REQUIRED | DEFAULT VALUE | | ||
|-----------------|--------|----------|---------------| | ||
| codec | codec | false | "line" | | ||
| host | string | true | "" | | ||
| port | uint | true | ? | | ||
| keepalive | bool | false | true | | ||
| request_timeout | uint | false | 30 | | ||
| retry_interval | uint | false | 10 | | ||
|
||
|
||
## Details | ||
|
||
### codec | ||
* Value type is codec | ||
* Default value is `"line"` | ||
|
||
The codec used for input data. Input codecs are a convenient method for decoding | ||
your data before it enters the input, without needing a separate filter in your bitfan pipeline | ||
|
||
### host | ||
* This is a required setting. | ||
* Value type is string | ||
* Default value is `""` | ||
|
||
|
||
|
||
### port | ||
* This is a required setting. | ||
* Value type is uint | ||
* Default value is `?` | ||
|
||
|
||
|
||
### keepalive | ||
* Value type is bool | ||
* Default value is `true` | ||
|
||
Turn this on to enable HTTP keepalive support. Default value is true | ||
|
||
### request_timeout | ||
* Value type is uint | ||
* Default value is `30` | ||
|
||
Timeout (in seconds) for the entire request. Default value is 60 | ||
|
||
### retry_interval | ||
* Value type is uint | ||
* Default value is `10` | ||
|
||
|
||
|
||
|
||
|
||
## Configuration blueprint | ||
|
||
``` | ||
tcpoutput{ | ||
codec => "line" | ||
host => "" | ||
port => uint | ||
keepalive => true | ||
request_timeout => 30 | ||
retry_interval => 10 | ||
} | ||
``` |
Oops, something went wrong.