Skip to content

--dry-run shows several warnings of parameter <name> in <filter> is not used #4894

Closed Answered by daipom
khteh asked this question in Q&A
Discussion options

You must be logged in to vote

Sorry, this means there are some input plugins using https://docs.fluentd.org/storage with on-memory state.

Since two warning logs are generated for each one, it seems there are two locations.

sample plugin uses storage_local internally.
This causes the warning log, but you can ignore it.
(storage_local in sample is used for auto_increment_key. You don't use it, so there is no impact at all. We should fix this useless warning...)

If you want to suppress the warning, you need to set https://docs.fluentd.org/deployment/system-config#root_dir.
(It allows storage_local to automatically save data to that directory.)

<system>
  root_dir /path/to/fluentd-root
</system>

Replies: 2 comments 10 replies

Comment options

You must be logged in to vote
1 reply
@daipom
Comment options

Comment options

You must be logged in to vote
9 replies
@khteh
Comment options

@khteh
Comment options

@khteh
Comment options

@daipom
Comment options

Answer selected by khteh
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