Code Monkey home page Code Monkey logo

Comments (1)

Scoobed avatar Scoobed commented on August 12, 2024

As we investigated this, we back tracked the code from Firehose_to_syslog to go-loggegrator

Conversion to V1 starts here

for _, v1e := range conversion.ToV1(e) {

Code which I think actually has an issue.. I don't have a good simple example to pull a message from loggegrator v2 api endpoint to see what is happening. On the other messages Source ID is string but on the timer conversation it has a different conversion method. Not sure if that is what is causing the issue, if something undocumented changed in loggegrator v2 in later versions.

https://github.com/cloudfoundry/go-loggregator/blob/3a9c7ed9ada2f3a687303e3bcccb06bcaf2cb457/conversion/tov1.go#L101

Should it use this instead
https://github.com/cloudfoundry/loggregator/blob/3ce1eab57797e49c03fd9c262168c28b66d7a560/plumbing/conversion/tov1.go#L85

Which points to what the structure should be?
https://github.com/cloudfoundry/loggregator-api/blob/master/README.md#httpstartstop

from firehose-to-syslog.

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.