Skip to content

Commit

Permalink
update config.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
agnivade committed Nov 22, 2016
1 parent 3ec0d56 commit 5522ff5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
2 changes: 0 additions & 2 deletions cmd/funnel/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@ import (
)

// TODO: add http stats endpoint conditionally

// todo: rectify comment on flushing about targts/files
const (
AppName = "funnel"
)
Expand Down
7 changes: 4 additions & 3 deletions config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,9 @@ max_lines = 100000 # hundred thousand
# Max no. of bytes written to a file beyond which it will rotate
max_file_size_bytes = 5000000 # 5MB

# The time interval after which the buffer will be flushed to disk.
# 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.
# The time interval after which the buffer will be flushed to the output target.
# For some targets, flushing doesn't make sense. It becomes a no-op then.
# Other targets have in-built flush frequency. It can be configured in that section.
[flushing]
time_interval_secs = 5

Expand Down Expand Up @@ -64,7 +65,7 @@ prepend_value = ""
# name = "redis"
# host = "localhost:6379"
# password = "" # If no password is set, keep it blank
# channel = "test"
# channel = "test" # Specify the channel to publish to

# ElasticSearch output example
# P.S. Since ES takes json objects, log lines have to be in json.
Expand Down

0 comments on commit 5522ff5

Please sign in to comment.