02 Oct 2024 06:42 PM
Hello,
Is it possible to change the outbound log endpoint on the OneAgent? Lets say I want to send logs to an external observability pipeline first (not DT openPipeline) is that possible or is everything forced to activegates or saas? I'm sure I could do this with fluent but if I can I don't want to add an agent.
Solved! Go to Solution.
02 Oct 2024 06:47 PM
We've done something similar by having our code utilize Serilog to send some logs to other destinations. I'm not sure if this can be done for logs the OneAgent is already ingesting though. Looking forward to hearing if this is possible.
02 Oct 2024 09:28 PM
Hi @A1
Let's go through your concern sequentially if you're talking about Oneagent log directory, assume it's a Linux server:
Second point:
Regards,
Peter.
03 Oct 2024 03:33 AM
Peter,
What I am tryin to do is see if the OneAgent can be configured to send logs to something other than the DT saas. For example, how do I tell the OneAgent that is taking in logs to send to https://myloggingdomain.com instead of the saas tenant.
03 Oct 2024 07:38 AM
@A1 No, collecting logs using OneAgent and sending them to a destination other than Dynatrace is not possible.
Can you give reasons why would you want to do that? Having logs with other observability signals and having them connected (log to trace for example) in a single platform is one of the most important benefits for Dynatrace users.
03 Oct 2024 08:58 PM
They would still make it to Dynatrace we just have external observability pipelines. I wanted to know so I could potentially avoid using another agent but seems its not possible. Thanks
04 Oct 2024 02:07 PM
Can you pick them up from Dynatrace and then send to your external pipeline? Seems like maybe a better solution rather than having multiple agents consuming the same logs on the same host.