Giter Club home page Giter Club logo

Comments (5)

NBParis avatar NBParis commented on September 25, 2024

Hello @ricktg,

First of all, thanks for reaching and helping us improve this plugin.
Would it be possible to have more details about the setup you have for your proxy?

To give some context about my question, this plugin forward logs with a TLS-encrypted connection to Datadog intake.
So in order to be able to send logs to the proxy, we would need to remove the TLS-encryption as your proxy will not be able to validate our certificate, and probably to change the endpoint as well.

Thanks

from logstash-output-datadog_logs.

ricktg avatar ricktg commented on September 25, 2024

Hi @NBParis,

Our current logstash setup has the java system property http.proxyHost and http.proxyPort configured in the startup script.
So the suggestion would be the plugin use this properties as proxy configuration.

Out datadog agent already has proxy configured as well to send the standard monitoring metrics.

Let me know if you need more info.

from logstash-output-datadog_logs.

NBParis avatar NBParis commented on September 25, 2024

@ricktg So the main difference here is that the Datadog Logstash plugin is using TCP to forward logs and not HTTP which is probably one of the reason those parameters are not taken into account.

Something we could look into is to:

  1. let you define a proxy endpoint (host and port) in the plugin
  2. add an option to disable TLS encryption between Logstash and the proxy (as your proxy won't be able to validate our certificate)

What are your thoughts on this?

from logstash-output-datadog_logs.

ricktg avatar ricktg commented on September 25, 2024

@NBParis, that should work perfectly in my case! I would even be able to remove the proxy system property since i've put there just for testing the datadog connection.

Thanks for the help!

from logstash-output-datadog_logs.

ajacquemot avatar ajacquemot commented on September 25, 2024

Hi @ricktg,

We've just released a new version of the plugin containing the proxy settings logic, happy testing.
Thanks,

Alexandre

from logstash-output-datadog_logs.

Related Issues (11)

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.