We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
[[inputs.file]] files = ["/tmp/ctrl.json"] data_format = "json_v2" [[inputs.file.json_v2]] measurement_name = "storcli_controller" [[inputs.file.json_v2.tag]] path = "Controllers.#.Command Status.Controller" rename = "Controller" [[inputs.file.json_v2.object]] path = "Controllers.#.Response Data" disable_prepend_keys = true included_keys = [ "Drive_Groups", "Virtual_Drives" ] tags = [ "Product_Name", "Serial_Number" ]
Telegraf: telegraf-1.19.0-0.1.x86_64 OS: Linux localhost 3.10.0-1160.15.2.el7.x86_64 #1 SMP Wed Feb 3 15:06:38 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
metrics, if found, should be tagged by tags from the list
Metrics are not tagged
In order to work all tags should be added to the "included_keys" list as below
included_keys = [ "Drive_Groups", "Virtual_Drives", "Product_Name", "Serial_Number" ] tags = [ "Product_Name", "Serial_Number" ]
This is kind of obvious action and could be done by default.
The text was updated successfully, but these errors were encountered:
MyaLongmire
Successfully merging a pull request may close this issue.
Relevant telegraf.conf:
System info:
Telegraf: telegraf-1.19.0-0.1.x86_64
OS: Linux localhost 3.10.0-1160.15.2.el7.x86_64 #1 SMP Wed Feb 3 15:06:38 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
Steps to reproduce:
Expected behavior:
metrics, if found, should be tagged by tags from the list
Actual behavior:
Metrics are not tagged
Additional info:
In order to work all tags should be added to the "included_keys" list as below
This is kind of obvious action and could be done by default.
The text was updated successfully, but these errors were encountered: