Giter Site home page Giter Site logo

Comments (9)

rfoltyns avatar rfoltyns commented on September 26, 2024 1

@turesheim Great news! 👍 I'm glad you got it working.

I tested it only against 2.0 tbh. I had trouble with the API - I don't remember why anymore. I need to revisit it then.

I'll happily make slight adjustments and accept PR for OpenSearch. However, given that it's forked from ES 7.10, API compatibility will unfortunately be only a side-effect rather than the goal of this project. This will obviously change once log4j2-opensearch come to life. I only have 2 hands though...

from log4j2-elasticsearch.

kamuffe avatar kamuffe commented on September 26, 2024 1

Hi.

Thank you for releasing this issue.
I can confirm, that the ES reporting with ElasticSearch 8.4.3 is working again.

Best,
Kamuffe

from log4j2-elasticsearch.

rfoltyns avatar rfoltyns commented on September 26, 2024

Option to remove _type will be added in 1.6.0.

As it may require comprehensive changes, it will most likely NOT be back-ported to 1.5.

from log4j2-elasticsearch.

kamuffe avatar kamuffe commented on September 26, 2024

Hi.

First of all thanks for this great project.
We already upgrated to ElasticSearch 8.4 and since then now logs are not sent to ElasticSearch anymore due to this issue.

Can you already weigh up when you have time to fix this issue?

Best,
Kamuffe

from log4j2-elasticsearch.

rfoltyns avatar rfoltyns commented on September 26, 2024

Thank you for the good word. I'm glad that you found it useful.

I have the code working. Just wrapping up testing. I can actually push it today.

from log4j2-elasticsearch.

rfoltyns avatar rfoltyns commented on September 26, 2024

I'll try to release it later this month

from log4j2-elasticsearch.

kamuffe avatar kamuffe commented on September 26, 2024

Thank you very much ;)

I really appreciate that :)

from log4j2-elasticsearch.

rfoltyns avatar rfoltyns commented on September 26, 2024

Released in 1.6.0.

OpenSearch 2.0 support is limited to legacy Index Template API (no composable templates).

ISM is out-of-scope of this project - it will be a part of log4j2-opensearch project in the future. For now, you can get it by extending OperationFactoryDispatcher and ClientObjectFactory classes in a module you're using and adding appropriate Operation factory:

  • ElasticsearchOperationFactory and HCHttpPlugin (or HCHttp for programmatic config) in HC module
  • ElasticsearchOperationFactory and AHCHttpPlugin (or AHCHttp for programmatic config) in AHC module
  • JestOperationFactoryDispatcher and (Buffered)JestHttpObjectFactory in Jest module

from log4j2-elasticsearch.

turesheim avatar turesheim commented on September 26, 2024

Thanks for adding OpenSearch 2.0 support. It is very much appreciated! PS: We are using OpenSearch 2.3 with composable templates and this version of library. I'm not aware of anything broken. Could you elaborate?

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.