File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -11,8 +11,6 @@ import (
1111)
1212
1313// TODO: add http stats endpoint conditionally
14-
15- // todo: rectify comment on flushing about targts/files
1614const (
1715 AppName = "funnel"
1816)
Original file line number Diff line number Diff line change @@ -14,8 +14,9 @@ max_lines = 100000 # hundred thousand
1414# Max no. of bytes written to a file beyond which it will rotate
1515max_file_size_bytes = 5000000 # 5MB
1616
17- # The time interval after which the buffer will be flushed to disk.
18- # This is only for file output. If other targets need a flush interval, you need to specify it separately. Look at the [target] section for examples.
17+ # The time interval after which the buffer will be flushed to the output target.
18+ # For some targets, flushing doesn't make sense. It becomes a no-op then.
19+ # Other targets have in-built flush frequency. It can be configured in that section.
1920[flushing ]
2021time_interval_secs = 5
2122
@@ -64,7 +65,7 @@ prepend_value = ""
6465# name = "redis"
6566# host = "localhost:6379"
6667# password = "" # If no password is set, keep it blank
67- # channel = "test"
68+ # channel = "test" # Specify the channel to publish to
6869
6970# ElasticSearch output example
7071# P.S. Since ES takes json objects, log lines have to be in json.
You can’t perform that action at this time.
0 commit comments