Log Security
[OUTPUT]
Name forward
Match *
Port 9000
Tag <TAG>
Host <TCP_ENDPOINT>
tls on
Shared_Key <KEY>curl --location \
--request POST 'https://12be6dbe134f-logs.3b0b424eb27f.logging.de-txl.ionos.com/myhttp' \
--header 'Content-Type: application/json' \
--header 'APIKEY: <KEY>' \
--data '{
"status": "Ready",
"ts": 1580306777.04728,
"pod": {
"name": "Example Name",
"namespace": "data"
},
"msg": "Pod status updated",
"level": "error",
"label_1": "test label"
}'[OUTPUT]
Name http
Match *
Host <HTTPS_ENDPOINT>
URI /<TAG>
Format json
Header APIKEY <KEY>
tls on
Port 443Last updated
Was this helpful?