{"id":21823474,"url":"https://github.com/f2calv/serilog","last_synced_at":"2025-08-24T19:16:09.681Z","repository":{"id":49154648,"uuid":"316018797","full_name":"f2calv/Serilog","owner":"f2calv","description":"Serilog in a .NET 5 Web API app pushing structured logs to the Console, MSSQL, Seq, Elasticsearch/Kibana, Azure Blob/Table Storage \u0026 Azure Application Insights","archived":false,"fork":false,"pushed_at":"2022-10-10T23:32:44.000Z","size":86,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-26T07:46:48.068Z","etag":null,"topics":["application-insights","azure-blob-storage","azure-table-storage","elasticsearch","kibana","seq","serilog"],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"unlicense","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/f2calv.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-11-25T18:09:49.000Z","updated_at":"2022-01-17T08:06:35.000Z","dependencies_parsed_at":"2023-01-19T18:15:22.256Z","dependency_job_id":null,"html_url":"https://github.com/f2calv/Serilog","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/f2calv%2FSerilog","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/f2calv%2FSerilog/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/f2calv%2FSerilog/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/f2calv%2FSerilog/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/f2calv","download_url":"https://codeload.github.com/f2calv/Serilog/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244790300,"owners_count":20510721,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["application-insights","azure-blob-storage","azure-table-storage","elasticsearch","kibana","seq","serilog"],"created_at":"2024-11-27T17:32:17.638Z","updated_at":"2025-03-21T11:30:20.144Z","avatar_url":"https://github.com/f2calv.png","language":"C#","readme":"# Serilog Structured Logging w/Multiple Sinks\n\nI need to write the README.md ...\n\u003c!-- Playground working with Serilog and the structured logging it provides which sends the log data to Elasticsearch and we can then view with Kibana.\n\nTo run the demo;\n\n- Execute `docker-compose up --build` from the root of the repo.\n- Navigate to http://localhost:9200 to check Elasticsearch is up and running.\n- Navigate to http://localhost:5601 to check Kibana is up and running.\n- Navigate to http://localhost:5601/app/management/kibana/indexPatterns/create and create an Index pattern to match `logstash-...` and you should see the test data.\n\n## Misc\n\n`docker run -p 9200:9200 -p 9300:9300 -e \"discovery.type=single-node\" docker.elastic.co/elasticsearch/elasticsearch:7.10.0`\n`docker run -p 9200:9200 -p 9300:9300 -e \"discovery.type=single-node\" elasticsearch:7.9.3`\n\n## Resources\n\n- https://github.com/serilog/serilog/wiki\n- https://github.com/serilog/serilog-aspnetcore\n- https://github.com/deadlydog/Sample.Serilog\n- https://docs.microsoft.com/en-us/aspnet/core/fundamentals/logging/?view=aspnetcore-5.0\n- https://softwareengineering.stackexchange.com/questions/312197/benefits-of-structured-logging-vs-basic-logging\n- https://github.com/justeat/NLog.StructuredLogging.Json#best-practices\n- https://github.com/serilog/serilog-sinks-elasticsearch\n- https://benfoster.io/blog/serilog-best-practices/\n--\u003e\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ff2calv%2Fserilog","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ff2calv%2Fserilog","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ff2calv%2Fserilog/lists"}