Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

use chunk_id in path #71

Open
bobykus31 opened this issue Jun 25, 2019 · 3 comments
Open

use chunk_id in path #71

bobykus31 opened this issue Jun 25, 2019 · 3 comments

Comments

@bobykus31
Copy link

According to your documentation it is allowed to use

path "/log/access/%Y%m%d/#{Socket.gethostname}.${chunk_id}.log"

In my case

path "/raw/syslog/logdate=%Y%m%d/loghour=%H/#{Socket.gethostname}.${chunk_id}.journald.log"

failed to communicate hdfs cluster, path: /raw/syslog/logdate=20190625/loghour=07/fluentd3.2019-06-25 08:11:10 +0000 [warn]: #10 ${chunk_id} is not allowed in this plugin. Pass Chunk instead of metadata in extract_placeholders's 2nd argument.journald.log.gz

It is acceptable to use worker_id as fluent/fluentd#1473 in my case only.

@okkez
Copy link
Contributor

okkez commented Jul 9, 2019

This has been already fixed in #70.
@repeatedly Could you release new version of this plugin?

@repeatedly
Copy link
Member

Sorrry. I forgot to release new version. Just released v1.2.4.

@okkez
Copy link
Contributor

okkez commented Jul 9, 2019

Thank you for the quick response!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants