####
## Source descriptions:
##
## built-in TCP input
## @see https://docs.fluentd.org/input/forward
# Match all patterns
@type http
# endpoint http://ingestor:3400/ingestor/fluentd/v1/logs # This is if you're testing in local development
endpoint https://oneuptime.com/fluentd/logs # This is for prod environment
open_timeout 2
# Please make sure you change the token and service name to your own
headers {"x-oneuptime-token":"caf42a30-8ace-11ef-b10a-eb9302809cb8", "x-oneuptime-service-name": "fluentd-logs"}
content_type application/json
json_array true
@type json
flush_interval 10s