logstash-tail icon indicating copy to clipboard operation
logstash-tail copied to clipboard

Doesn't cope with UTF-*?

Open abridgett opened this issue 11 years ago • 0 comments

We have UTF-8 characters in our logs - I think that's causing these errors:

Traceback (most recent call last):
  File "./logstash-tail", line 130, in <module>
    fields = dict(to_path(parsed))
  File "./logstash-tail", line 55, in to_path
    for line in to_path(v, real_prefix):
  File "./logstash-tail", line 60, in to_path
    yield (prefix, str(data))
UnicodeEncodeError: 'ascii' codec can't encode characters in position 100-104: ordinal not in range(128)

abridgett avatar Jun 20 '13 07:06 abridgett