Skip to content

Instantly share code, notes, and snippets.

@reski-rukmantiyo
Created September 22, 2022 00:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save reski-rukmantiyo/690d153968f54bfb467d15857abea247 to your computer and use it in GitHub Desktop.
Save reski-rukmantiyo/690d153968f54bfb467d15857abea247 to your computer and use it in GitHub Desktop.
benthos config
http:
enabled: true
address: 0.0.0.0:1023
root_path: /benthos
debug_endpoints: false
cert_file: ""
key_file: ""
cors:
enabled: false
allowed_origins: []
basic_auth:
enabled: false
realm: restricted
username: ""
password_hash: ""
algorithm: sha256
salt: ""
input:
label: "haproxy_log"
subprocess:
name: "/usr/bin/tail"
args: [ "-f", "/var/log/haproxy.log"]
codec: lines
restart_on_exit: true
buffer:
none: {}
pipeline:
threads: -1
processors: []
output:
label: ""
http_server:
address: ""
path: /get
stream_path: /get/stream
ws_path: /get/ws
allowed_verbs:
- GET
timeout: 5s
cert_file: ""
key_file: ""
cors:
enabled: false
allowed_origins: []
logger:
level: INFO
format: logfmt
add_timestamp: false
timestamp_name: time
message_name: msg
static_fields:
'@service': benthos
file:
path: "benthos.log"
rotate: true
rotate_max_age_days: 0
metrics:
prometheus:
use_histogram_timing: false
histogram_buckets: []
add_process_metrics: false
add_go_metrics: false
push_url: ""
push_interval: ""
push_job_name: benthos_push
push_basic_auth:
username: ""
password: ""
file_output_path: ""
mapping: ""
tracer:
none: {}
shutdown_delay: ""
shutdown_timeout: 20s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment