Giter VIP home page Giter VIP logo

Comments (8)

idohalevi avatar idohalevi commented on August 10, 2024

@sam26880 what language are you using?

from logzio_aws_serverless.

sam26880 avatar sam26880 commented on August 10, 2024

Not sure I understand. I believe the code on this site is Python. Isn't it? I'm not really a python guy but I sort of tried to figure it out based on what was there.

from logzio_aws_serverless.

idohalevi avatar idohalevi commented on August 10, 2024

@sam26880 Sorry for not being clear enough. The logs you're trying to ship are lambda logs? if so what code language you use in the lambda?

from logzio_aws_serverless.

sam26880 avatar sam26880 commented on August 10, 2024

yes..Lambda logs. I use NodeJS for my serverless functions. I even tested the changed I proposed above and it seems to be working. Only by doing this, I'm getting the actual Log Level. The code that was there before wasn't getting the log level correctly. Please double check what I'm proposing and verify it works for you as well.

from logzio_aws_serverless.

idohalevi avatar idohalevi commented on August 10, 2024

@sam26880 Thank you for letting us know about this issue. I found what causes it. AWS Lambda has a different log format for each language. I was testing it only on Python and never on NodeJS. You can see in the links that the log format for each language is different. I'll see how we can have a more generic solution. For now, if you have only NodeJS Lambda, you can use your local fix and I'll close this issue once we'll merge a fix

from logzio_aws_serverless.

sam26880 avatar sam26880 commented on August 10, 2024

Please let me know when you plan to have this updated so that I can keep my version updated with latest changes

from logzio_aws_serverless.

idohalevi avatar idohalevi commented on August 10, 2024

@sam26880 we will close this issue with a reference to the PR that fixed it

from logzio_aws_serverless.

ronish31 avatar ronish31 commented on August 10, 2024

Issue is fixed.
#42

from logzio_aws_serverless.

Related Issues (17)

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.