[Q&A] exec command won't run a curl #5233
-
What is a problem?I am trying to run an exec command that curls an endpoint but I only want the HTTP status from the header. No output is being returned, and there are no errors in the log. I am running fluentd in a docker container. Here is an example of the curl: here is my current setup, so that I am getting the http status every 60 seconds: When this executes, no output is returned. All I get is: I have verified:
I have tried:
No errors pop up, there is just no output. I am frustrated. Describe the configuration of FluentdDescribe the logs of FluentdNo error logs, only this debug log: Environment- Fluentd version: 1.19.0 |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
You just throw away result of the command because there is no appropriate If you insert the following snippet into fluent.conf, you can observe the processed message. |
Beta Was this translation helpful? Give feedback.
You just throw away result of the command because there is no appropriate
<match>section to match yourendpoint.statustag.If you insert the following snippet into fluent.conf, you can observe the processed message.