GithubHelp home page GithubHelp logo

Comments (10)

errm avatar errm commented on May 24, 2024

potentially related to #27

from fluent-plugin-systemd.

dannyk81 avatar dannyk81 commented on May 24, 2024

Indeed seems related! any leads into what's going on?

from fluent-plugin-systemd.

dannyk81 avatar dannyk81 commented on May 24, 2024

@errm

Gentle ping :)

from fluent-plugin-systemd.

errm avatar errm commented on May 24, 2024

Hi @dannyk81 so there seems to be two things going on here ... when the journal file is rotated logs top being ingested ... and the encoding issue in your logs.

I think these two things are unrelated but the journal file rotation issue is the root cause of the symptoms (not receiving events), the encoding thing should only cause you to lose that one event.

I haven't had the bandwidth to look at either issue yet, but may be able to over the next week at some point...

from fluent-plugin-systemd.

dannyk81 avatar dannyk81 commented on May 24, 2024

Thanks for the feedback 👍

Indeed the file rotation issue is the one that troubles me at this point.

from fluent-plugin-systemd.

errm avatar errm commented on May 24, 2024

Re: the encoding issue it sounds like LANG is not setup correctly.

You probably want something like this in your Dockerfile:

RUN locale-gen en_US.UTF-8
ENV LANG en_US.UTF-8

from fluent-plugin-systemd.

dannyk81 avatar dannyk81 commented on May 24, 2024

Interesting, will give it a try!

from fluent-plugin-systemd.

errm avatar errm commented on May 24, 2024

Humm ignore that, it seems like fluentd is specifically overriding the system encoding...

see fluent/fluentd#803 and fluent/fluentd@32790dc

from fluent-plugin-systemd.

errm avatar errm commented on May 24, 2024

I have had a little look at this, the systemd plugin is correctly (as per the fluentd config) outputting the data with the ASCII-8BIT encoding, it seems like an output plugin that you are using is trying to convert to UTF-8, as I understand fluentd, this is a bug with that plugin as fluentd expects internally everything to be in the ASCII-8BIT encoding.

from fluent-plugin-systemd.

dannyk81 avatar dannyk81 commented on May 24, 2024

Understood, I'll have to look into that plugin internals (splunkapi), though we will probably switch to Elasticsearch soon.

from fluent-plugin-systemd.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.