2024-02-02 12:21:29 +00:00
|
|
|
####
|
|
|
|
## Source descriptions:
|
|
|
|
##
|
|
|
|
|
|
|
|
## built-in TCP input
|
|
|
|
## @see https://docs.fluentd.org/input/forward
|
|
|
|
<source>
|
|
|
|
@type forward
|
|
|
|
port 24224
|
|
|
|
bind 0.0.0.0
|
|
|
|
</source>
|
|
|
|
|
|
|
|
# Match all patterns
|
|
|
|
<match **>
|
|
|
|
@type http
|
|
|
|
|
2024-02-03 09:10:57 +00:00
|
|
|
# endpoint http://ingestor:3400/ingestor/fluentd/v1/logs # This is if you're testing in local development
|
|
|
|
endpoint https://test.oneuptime.com/fluentd/logs # This is for test environment
|
2024-02-02 12:21:29 +00:00
|
|
|
open_timeout 2
|
|
|
|
|
2024-02-03 11:35:36 +00:00
|
|
|
headers {"x-oneuptime-service-token":"e83375b0-c1fc-11ee-a9f7-070615743da6"}
|
2024-02-02 12:21:29 +00:00
|
|
|
|
2024-02-02 12:59:23 +00:00
|
|
|
content_type application/json
|
|
|
|
json_array true
|
|
|
|
|
2024-02-02 12:21:29 +00:00
|
|
|
<format>
|
|
|
|
@type json
|
|
|
|
</format>
|
|
|
|
<buffer>
|
|
|
|
flush_interval 10s
|
|
|
|
</buffer>
|
|
|
|
</match>
|
|
|
|
|