grok_exporter icon indicating copy to clipboard operation
grok_exporter copied to clipboard

invalid UTF-8 label value - Missing codec in config file

Open renzo1974 opened this issue 7 years ago • 2 comments

Our log files are written in ASCII and can contain special chars like äöu in german speaking. I searched for a possibility to set the coded in config.yml like in logstash config file:

codec => json { charset => "ASCII-8BIT" }

Is this possible to add to the config.yml?

renzo1974 avatar Jul 30 '18 06:07 renzo1974

Hi, sorry for the late reply. Currently grok_exporter with special characters works only with UTF-8 encoding (because of this). If you use UTF-8 it should work. If you use another encoding, please tell me which one so I can try and make this configurable.

fstab avatar Aug 02 '18 20:08 fstab

No problem. I've found another solution to kick away the non printable chars with a REGEX. So for the moment my problem is solved... buuut it would be nice to have the possibility to set the encoding in the config file... but no priority for this....

renzo1974 avatar Aug 03 '18 08:08 renzo1974