I am using .NET 7 and Serilog elastic search 9.0.3.
I am trying to integrate with a newly setup Elastic Search cloud instance.
The Serilog is logging to file and to my buffer. I did notice the fail-{Date}.txt file also containing some logs but this has since stopped logging.
The logs are not being added to elastic when I would expect them to.
Is there any additional elastic setup required to enable integrations or can I simply supply the endpoint URI of my elastic search and enable basic auth using username and password and I am good to go?
A few questions before you begin:
Hello,
I am using .NET 7 and Serilog elastic search 9.0.3.
I am trying to integrate with a newly setup Elastic Search cloud instance.
The Serilog is logging to file and to my buffer. I did notice the fail-{Date}.txt file also containing some logs but this has since stopped logging.
The logs are not being added to elastic when I would expect them to.
Is there any additional elastic setup required to enable integrations or can I simply supply the endpoint URI of my elastic search and enable basic auth using username and password and I am good to go?
My startup code contains the following:
Also the file name for the failure sink does replace {Date} so this file could grow. Is this correct above?
Any help would be appreciated.