-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Custom file logging not working when logs come from a non integration source file #1471
Comments
closing due to config error. |
Hello @adragoset , A bit too fast in the closing so was not able to answer before :) As indeed, if you are using a yaml file only for logs, you do not need those sections and using them will raise this kind of errors. |
Hi thank you for answering ill remove those sections and see if it resolves errors showing up in the logs. |
I was able to make the above errors go away however it looks like the agent is failing to connect to the datadog log endpoint. Here is an excerpt from the log output
As you can see im getting connection refused when it tries to ship logs to that endpoint. I am behind a proxy with a self signed cert could that be causing the issue? |
@adragoset Indeed that would be an issue as the agent is targeting intake.logs.datadoghq.com on the port 10516. I would suggest to open a support ticket with your proxy setup to support@datadoghq.com so we can investigate the issue. |
https://docs.datadoghq.com/logs/#custom-log-collection
Under the custom file section the user is instructed to create a config.yaml and place it in
custom-integration-name.d/conf.yaml
However folders placed into conf.d and mounted do not get copied into /etc/datadog-agent/conf.d/
If the user names the config file custom-integration-name.yaml and places it into /conf.d thats mounted datadog then throws an error
If the user is not using an existing integration and just wants to tail the file it does not look like this is possible.
The text was updated successfully, but these errors were encountered: