Skip to main content

Fluentd

HTTP

Specify http output section in fluentd.conf as below:

<match **>
@type http
endpoint "http://<ip_address_of_cubeapm_server>:3130/api/logs/insert/jsonline"
headers {"Cube-Msg-Field": "log", "Cube-Time-Field": "time", "Cube-Stream-Fields": "path"}
</match>

Reference: Fluentd HTTP documentation.