# Cant' find an example of how Elastic.Serilog.Sinks works with json configuration file

**URL:** https://discuss.elastic.co/t/cant-find-an-example-of-how-elastic-serilog-sinks-works-with-json-configuration-file/337078
**Category:** Logs
**Tags:** dotnet
**Created:** [June 28, 2023, 12:27pm UTC](https://discuss.elastic.co/t/cant-find-an-example-of-how-elastic-serilog-sinks-works-with-json-configuration-file/337078 "2023-06-28T12:27:48Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![pantonis](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/pantonis/32/122510_2.png) [@pantonis](https://discuss.elastic.co/u/pantonis)
#### Post date: [June 28, 2023, 12:27pm UTC](https://discuss.elastic.co/t/cant-find-an-example-of-how-elastic-serilog-sinks-works-with-json-configuration-file/337078/1 "2023-06-28T12:27:48Z")

</div>

I cannot find an example of how Elastic.Serilog.Sinks works with a json configuration file.  
It seems that serilog json configuration file does not work with this library.  
any example of how a json file looks like would be appreciated. The git repo doesn't have any examples either.

Thanks

---

<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: [July 26, 2023, 12:28pm UTC](https://discuss.elastic.co/t/cant-find-an-example-of-how-elastic-serilog-sinks-works-with-json-configuration-file/337078/2 "2023-07-26T12:28:42Z")

</div>

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