title: How to log from .NET Core Web API into Elasticsearch on own index
body: <p>I have a .NET Web API written with <strong>C#</strong> and a <strong>Elasticsearch</strong>. On the Elasticsearch I have a index "<strong>logging</strong>" where I want to push my logs from the API into.</p>
  
  <p>I can not figure out how to get my logs from the C# API into the Elastic "logging". I read documentations like <a href="https://www.humankode.com/asp-net-core/logging-with-elasticsearch-kibana-asp-net-core-and-docker" rel="noreferrer">Logging with ElasticSearch...</a>, but I have no logstash available at my Elasticsearch. So I'm searching for a Package which helps my logging in a easy way. I think need to hand over the Index "logging" ones, so it knows where to log into. </p>
  
  <p><strong>Does somebody can recommend a documentation and / or Package for that?</strong></p>
  
  <p><strong>Or do I need to program it by my self?</strong></p>