-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
Windows Agent: multiple instances localization when use UseWildcardsExpansion = true #4906
Comments
This is unwanted behavior but its seems to be a limitation of performance counters. I wonder though if it could be fixed by changing the locale in process or if a user could be setup to run Telegraf with a different locale. @runningAgain Maybe you could try this? |
there is no way to get this simply running. the only way to do this on windows 7 is to reinstall os with new language settings. on some environments this could be tricky ;-) By the way .. another idea ... is there a working processor plugin to rename the measurements ? I've seen there is a processor plugin called rename but how this works on windows client ? |
I believe the rename processor works the same on the windows client as documented: [[processors.rename]]
## Specify one sub-table per rename operation.
[[processors.rename.replace]]
measurement = "network_interface_throughput"
dest = "throughput" |
It seems that the rename processor is not working on windows platform ? [[processors.rename]] In the Output the measurement is the same as before. Is the rename processor plugin integrated in windows platform? |
This should be working on Windows, it seems unlikely that this would be platform issue, though I haven't checked. One potential gotcha is that the |
Hi Daniel, However, windows platform counters has also an tag - "ObjectName". The value of this is also in "non system language". Example: ObjectName = Memory I'll try to rename this with strings processor - replace. Can anyone give me an example ? Is this also working on windows platform ? |
Here is an example, I included the
|
Hi Daniel, i've test your example and get the following error. 2018-12-21T07:25:21Z I! Starting Telegraf 1.9.1 config as followed .... [[processors.strings]] |
.... now it's working .... In difference to replace processor the strings processor needs for each "replace" an seperate [[processors.strings]] section, like ... [[processors.strings]] ... however it works. Thanks for this. |
@runningAgain I have a fix for that in #5195, one more thing that was wrong in my example config: namepass should be an array of patterns:
|
Feature Request
Option to get always fields in english language
Current behavior:
With UseWildcardsExpansion = true to get all instances of a process like chrome or svchost , field are in local language like german
Without UseWildcardsExpansion = true , we only get one instance of chrome or svchost but fields are in english language.
Desired behavior:
With UseWildcardsExpansion = true to get all instances of a process like chrome or svchost , field are in english language
Use case: [Why is this important (helps with prioritizing requests)]
this is very important, because we startet our telegraf usage on many clients a long time before. so all of our data are used on english language. if now we want to use UseWildcardsExpansion = true to get all intances of a process new fileds/value are generated, example Working_Set is now Arbeitsseiten.
before:
after:
The text was updated successfully, but these errors were encountered: