Git Product home page Git Product logo

Comments (7)

bahtou avatar bahtou commented on August 9, 2024 5

@michael-aldridge what was the solution for you?

from logzio-k8s.

idohalevi avatar idohalevi commented on August 9, 2024

@michael-aldridge
Can you please share a sample of the log the is not parsed?

from logzio-k8s.

michael-aldridge avatar michael-aldridge commented on August 9, 2024

In my (node.js) app if I run

console.log(JSON.stringify({event: 'starting request', thing: 'other'}));

I get this as part of my kibana log (viewing the log using the JSON tab)

 "message": "{\"event\":\"starting request\",\"thing\":\"other\"}\n",

from logzio-k8s.

idohalevi avatar idohalevi commented on August 9, 2024

@michael-aldridge
I'll take a look.

from logzio-k8s.

bdashrad avatar bdashrad commented on August 9, 2024

We had the same issue. One problem we ran into is that some of the docker logs are in json format and some are not, and trying to deal with this conditionally in fluentd was problematic. We ended up not parsing the json on the fluentd side and having logz.io parse it conditionally after shipping.

from logzio-k8s.

bdashrad avatar bdashrad commented on August 9, 2024

It's because of this change made to fluent-plugin-kubernetes_metadata_filter, where they stopped parsing nested json.

from logzio-k8s.

idohalevi avatar idohalevi commented on August 9, 2024

@bdashrad @michael-aldridge
I read the thread you both mentioned. For now, we will keep parsing it on our (Logz.io) side - contact support.
If you feel in any way you prefer otherwise let me know or send a PR here with the solution.

from logzio-k8s.

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.