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

tag renaming config error #5

Open
arrlee opened this issue Oct 12, 2020 · 2 comments
Open

tag renaming config error #5

arrlee opened this issue Oct 12, 2020 · 2 comments

Comments

@arrlee
Copy link

arrlee commented Oct 12, 2020

Hello!

When running the tag rename with the configuration from the README.md infix throws the error
rename_location.toml: rename-tag: missing measurement filter

My command line:
./infix -datadir influx_test/data/ -waldir influx_test/wal/ -database Test -v -config rename.toml

Any ideas?

Best,
André

@oktal
Copy link
Member

oktal commented Oct 14, 2020

Hello,

Could you please provide your rename_location.toml configuration file ?

Make sure that the fields are in the right order, otherwise the toml won't parse correctly, unfortunately.

@arrlee
Copy link
Author

arrlee commented Oct 14, 2020

Hi oktal,

sure. It's the unmodified example from your documentation:

[[rules.rename-tag]]
    to="hostname"
    [measurement.strings]
        hasprefix="linux."
    [tag.strings]
        equal="host"

Best,
André

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

2 participants