Skip to content
Discussion options

You must be logged in to vote

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.

You just throw away result of the command because there is no appropriate <match> section to match your endpoint.status tag.

If you insert the following snippet into fluent.conf, you can observe the processed message.

<match endpoint.status>
  @type stdout
</match>

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@kyra-hrabal
Comment options

Answer selected by kyra-hrabal
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants