Giter Club home page Giter Club logo

Comments (3)

peterkuiper avatar peterkuiper commented on August 18, 2024

Having the same problem:

2018-03-07 09:17:33 +0000 [warn]: temporarily failed to flush the buffer. next_retry=2018-03-07 09:19:28 +0000 error_class="ArgumentError" error="Hostname may not be omitted" plugin_id="object:2ad98573e374"

I have to restart all the pods to get things going again.

from fluent-plugin-papertrail.

alexouzounis avatar alexouzounis commented on August 18, 2024

a solution is to change your fluent.conf match to only kubernetes related logs ie

<match kubernetes.*>
    type papertrail
    num_threads 4

    papertrail_host "#{ENV['FLUENT_PAPERTRAIL_HOST']}"
    papertrail_port "#{ENV['FLUENT_PAPERTRAIL_PORT']}"
</match>

If you want the systemd services, docker and kubelet, logs then append the following as well

<match systemd.*>
    type papertrail
    num_threads 4

    papertrail_host "#{ENV['FLUENT_PAPERTRAIL_HOST']}"
    papertrail_port "#{ENV['FLUENT_PAPERTRAIL_PORT']}"
</match>

from fluent-plugin-papertrail.

cmrust avatar cmrust commented on August 18, 2024

Hey @markdascher, we've taken your suggested approach and set reasonable defaults for the required fields. Please give this a shot again and reopen the issue if you're still having any problems.

from fluent-plugin-papertrail.

Related Issues (14)

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.