Giter VIP home page Giter VIP logo

Comments (4)

rfoltyns avatar rfoltyns commented on May 28, 2024

@paskalka you have to use a mapping definition that's compatible with your current version of ES cluster.
Have a look at indexTemplate-x.json files here for some very basic test examples. They won't give you a lot of search capabilities, but at least you'll get the basic JSON structure required by each ES version.

from log4j2-elasticsearch.

rfoltyns avatar rfoltyns commented on May 28, 2024

@paskalka Are you still having this issue? I've reproduced the template parsing error by providing indexTemplate-6.json to ES 7 cluster (as expected).

I couldn't reproduce the StackOverflowError though. Could you provide me with more information or steps to reproduce?

Since there were GSON classes in the stacktrace, I'd recommend to configure object pooling as it uses a Jackson serializers and it's much more memory efficient - Jest classes based on GSON serialization allocate huge amounts of memory.

from log4j2-elasticsearch.

rfoltyns avatar rfoltyns commented on May 28, 2024

I've managed to reproduce a StackOverflowError. @paskalka are you still getting the error with v1.4.0?

from log4j2-elasticsearch.

rfoltyns avatar rfoltyns commented on May 28, 2024

StackOverflowError was thrown from GSON trying to serialize pooled ByteBuf. It's possible only when non-pooled jest config (JestHttp) was configured with pooled JacksonJsonLayout. This configuration is invalid and it's documented in core module.

Fixed in 1.3.6. - ConfigurationException is thrown earlier to indicate invalid usage in runtime.

from log4j2-elasticsearch.

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.