Abc-Arbitrage / infix

MIT License
40 stars 6 forks source link

tag renaming config error #5

Open arrlee opened 4 years ago

arrlee commented 4 years ago

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 commented 4 years ago

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 commented 4 years ago

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é