.net agent log integration

apm-agent-dotnet/log-correlation.asciidoc at main · elastic/apm-agent-dotnet · GitHub.

The above link explains the steps to send logs to elastic apm, could you provide details how to send secret token for elastic cloud authorization?

Elasticsearch version: 8.1

APM Server version: 8.1

APM Agent language and version: .Net Core 3.1, agent version 1.4.1

Hi @sarabu_ps,

here is the documentation of that setting. It's the same as any other setting, so either just set the ELASTIC_APM_SECRET_TOKEN environment variable or use ElasticApm:SecretToken in your config files.

This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.