Code Monkey home page Code Monkey logo

Comments (3)

devinbfergy avatar devinbfergy commented on June 16, 2024

Hello did this ever get added to the input plugin? I could really use this functionality for error checking and tests. Thanks!

from logstash-input-http.

dorth avatar dorth commented on June 16, 2024

I was expecting that a malformed-JSON input would have returned a non-200 code as well, so it was a bit of a surprise to see them returning 200s. I do see that I can suppress a return code, but I'd prefer to outright reject it without having to add a filter drop or a null output.

While not a plugin issue, the JSON codec will throw errors for everyone of these.

[2020-02-24T22:29:27,692][ERROR][logstash.codecs.json ][main] JSON parse error, original data now in message field {:error=>#<LogStash::Json::ParserError: Unrecognized token 'xxxxxxxxxxxxxxxx': was expecting ('true', 'false' or 'null')

from logstash-input-http.

mlucool avatar mlucool commented on June 16, 2024

Are there plans to fix this?

from logstash-input-http.

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.