# Elastic logging not showing up in kibana

**URL:** https://discuss.elastic.co/t/elastic-logging-not-showing-up-in-kibana/375664
**Category:** Elastic Search
**Created:** [March 10, 2025, 5:21pm UTC](https://discuss.elastic.co/t/elastic-logging-not-showing-up-in-kibana/375664 "2025-03-10T17:21:07Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![a\_mandel](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/a_mandel/32/123160_2.png) [@a\_mandel](https://discuss.elastic.co/u/a_mandel)
#### Post date: [March 10, 2025, 5:21pm UTC](https://discuss.elastic.co/t/elastic-logging-not-showing-up-in-kibana/375664/1 "2025-03-10T17:21:07Z")

</div>

I am trying to log in .NET Framework with Elastic.serilog.sinks.

```auto
            var logger = new LoggerConfiguration()
            .MinimumLevel.Information() 
            .WriteTo.Elasticsearch(new[] { new Uri("http://localhost:9200") }, opts =>
            {
                opts.BootstrapMethod = BootstrapMethod.Failure;
            })
            .CreateLogger();

```

In the documentation it says that the default datastream is logs-dotnet-default. However when I check my Kibana I am not seeing the logs.  
I have the following in my settings:

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/7/7/77c266df691fbf8b1a764e5bc9decc399a2a446e.png)

and I also created a datastream that captures from logs-dotnet-default, so why am I not seeing my logs?

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/7/7/774b9d14237fbd3e9ec64c7fe613f97cda045fe6.png)

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)
#### Post date: [April 7, 2025, 5:21pm UTC](https://discuss.elastic.co/t/elastic-logging-not-showing-up-in-kibana/375664/2 "2025-04-07T17:21:33Z")

</div>

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