How to configure Elastic.Serilog.Sinks librari with appsettings.json?

I want to use Elastic.Serilog.Sinks library (created by Elastic co) to submit logs to an Elastic instance inside the Elastic cloud.

How to configure logging using appsettings.json for a .NET 7 application?

How to configure authentication, Elastic server endpoint etc?

There is NO configuration example in the official documentation :frowning:

Suffering the same :S

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