{"id":20855647,"url":"https://github.com/serilog-contrib/serilog-ui","last_synced_at":"2025-05-14T22:07:53.365Z","repository":{"id":39661675,"uuid":"253081251","full_name":"serilog-contrib/serilog-ui","owner":"serilog-contrib","description":"Simple Serilog log viewer UI for several sinks.","archived":false,"fork":false,"pushed_at":"2025-05-05T17:13:22.000Z","size":6521,"stargazers_count":246,"open_issues_count":3,"forks_count":43,"subscribers_count":8,"default_branch":"master","last_synced_at":"2025-05-05T18:35:46.135Z","etag":null,"topics":["serilog","serilog-sink","serilog-ui"],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/serilog-contrib.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2020-04-04T19:20:40.000Z","updated_at":"2025-05-05T17:13:25.000Z","dependencies_parsed_at":"2023-02-10T14:16:05.946Z","dependency_job_id":"a2dc5861-797a-4dc7-94b4-1abce3f45b8e","html_url":"https://github.com/serilog-contrib/serilog-ui","commit_stats":null,"previous_names":["mo-esmp/serilog-ui"],"tags_count":92,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/serilog-contrib%2Fserilog-ui","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/serilog-contrib%2Fserilog-ui/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/serilog-contrib%2Fserilog-ui/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/serilog-contrib%2Fserilog-ui/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/serilog-contrib","download_url":"https://codeload.github.com/serilog-contrib/serilog-ui/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252554752,"owners_count":21767070,"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":["serilog","serilog-sink","serilog-ui"],"created_at":"2024-11-18T04:19:48.249Z","updated_at":"2025-05-14T22:07:48.351Z","avatar_url":"https://github.com/serilog-contrib.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# serilog-ui ![GitHub release (latest by date)](https://img.shields.io/github/v/release/serilog-contrib/serilog-ui?label=latest%20release) [![](https://img.shields.io/nuget/dt/serilog.ui.svg?label=nuget%20downloads)](Serilog.UI)\n\n[![DotNET-build](https://github.com/serilog-contrib/serilog-ui/actions/workflows/DotNET-build.yml/badge.svg?branch=master)](https://github.com/serilog-contrib/serilog-ui/actions/workflows/DotNET-build.yml)\n[![DotNET Coverage](https://sonarcloud.io/api/project_badges/measure?project=followynne_serilog-ui\u0026metric=coverage)](https://sonarcloud.io/summary/new_code?id=followynne_serilog-ui)\n\n[![JS-build](https://github.com/serilog-contrib/serilog-ui/actions/workflows/JS-build.yml/badge.svg?branch=master)](https://github.com/serilog-contrib/serilog-ui/actions/workflows/JS-build.yml)\n[![Coverage](https://sonarcloud.io/api/project_badges/measure?project=followynne_serilog-ui_assets\u0026metric=coverage)](https://sonarcloud.io/summary/new_code?id=followynne_serilog-ui_assets)\n\nA simple Serilog log viewer for the following sinks:\n\n- Serilog.Sinks.**MSSqlServer** ([Nuget](https://github.com/serilog/serilog-sinks-mssqlserver))\n- Serilog.Sinks.**MySql** ([Nuget](https://github.com/saleem-mirza/serilog-sinks-mysql)) and Serilog.Sinks.**MariaDB** [Nuget](https://github.com/TeleSoftas/serilog-sinks-mariadb)\n- Serilog.Sinks.**Postgresql** ([Nuget](https://github.com/b00ted/serilog-sinks-postgresql)) and Serilog.Sinks.**Postgresql.Alternative** ([Nuget](https://github.com/serilog-contrib/Serilog.Sinks.Postgresql.Alternative))\n- Serilog.Sinks.**MongoDB** ([Nuget](https://github.com/serilog/serilog-sinks-mongodb))\n- Serilog.Sinks.**ElasticSearch** ([Nuget](https://github.com/serilog/serilog-sinks-elasticsearch))\n- Serilog.Sinks.**RavenDB** ([Nuget](https://github.com/ravendb/serilog-sinks-ravendb))\n- Serilog.Sinks.**SQLite** ([Nuget](https://github.com/saleem-mirza/serilog-sinks-sqlite/))\n\n\u003cimg src=\"https://raw.githubusercontent.com/serilog-contrib/serilog-ui/master/assets/serilog-ui-v3.jpg\" width=\"100%\" /\u003e\n\n# Read the [Wiki :blue_book:](https://github.com/serilog-contrib/serilog-ui/wiki)\n\n## Quick Start\n\n### Nuget packages installation\n\nInstall the _Serilog.UI_ [NuGet package](https://www.nuget.org/packages/Serilog.UI):\n\n```powershell\n# using dotnet cli\ndotnet add package Serilog.UI\n\n# using package manager:\nInstall-Package Serilog.UI\n```\n\nInstall one or more of the available providers, based upon your sink(s):\n\n| Provider                                                                                                        | install: dotnet                                       | install: pkg manager                               |\n| --------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------- | -------------------------------------------------- |\n| **Serilog.UI.MsSqlServerProvider** [[NuGet](https://www.nuget.org/packages/Serilog.UI.MsSqlServerProvider)]     | `dotnet add package Serilog.UI.MsSqlServerProvider`   | `Install-Package Serilog.UI.MsSqlServerProvider`   |\n| **Serilog.UI.MySqlProvider** [[NuGet](https://www.nuget.org/packages/Serilog.UI.MySqlProvider)]                 | `dotnet add package Serilog.UI.MySqlProvider`         | `Install-Package Serilog.UI.MySqlProvider`         |\n| **Serilog.UI.PostgreSqlProvider** [[NuGet](https://www.nuget.org/packages/Serilog.UI.PostgreSqlProvider)]       | `dotnet add package Serilog.UI.PostgreSqlProvider`    | `Install-Package Serilog.UI.PostgreSqlProvider`    |\n| **Serilog.UI.MongoDbProvider** [[NuGet](https://www.nuget.org/packages/Serilog.UI.MongoDbProvider)]             | `dotnet add package Serilog.UI.MongoDbProvider`       | `Install-Package Serilog.UI.MongoDbProvider`       |\n| **Serilog.UI.ElasticSearchProvider** [[NuGet](https://www.nuget.org/packages/Serilog.UI.ElasticSearchProvider)] | `dotnet add package Serilog.UI.ElasticSearchProvider` | `Install-Package Serilog.UI.ElasticSearchProvider` |\n| **Serilog.UI.RavenDbProvider** [[NuGet](https://www.nuget.org/packages/Serilog.UI.RavenDbProvider)]             | `dotnet add package Serilog.UI.RavenDbProvider`       | `Install-Package Serilog.UI.RavenDbProvider`       |\n| **Serilog.UI.SQLiteProvider** [[NuGet](https://www.nuget.org/packages/Serilog.UI.SQLiteProvider)]               | `dotnet add package Serilog.UI.SQLiteProvider`        | `Install-Package Serilog.UI.SQLiteProvider`        |\n\n### DI registration\n\nAdd `AddSerilogUi()` to `IServiceCollection` in your `Startup.ConfigureServices` method:\n\n```csharp\npublic void ConfigureServices(IServiceCollection services)\n{\n  // Register the serilog UI services\n  services.AddSerilogUi(options =\u003e options// each provider exposes extension methods to configure.\n    // example with MSSqlServerProvider:\n    .UseSqlServer(opts =\u003e opts\n      .WithConnectionString(\"YOUR_CONNECTION_STRING\")\n      .WithTable(\"YOUR_TABLE\")));\n}\n```\n\nIn the `Startup.Configure` method or on the WebApplication builder, enable the middleware to serve the log UI page.\n\nNOTE: call to the `UseSerilogUi` middleware must be placed **_after_** any Authentication and Authorization middleware!\n\n```csharp\npublic void Configure(IApplicationBuilder app, IWebHostEnvironment env)\n{\n    (...)\n\n    app.UseRouting();\n    app.UseAuthentication();\n    app.UseAuthorization();\n\n    // Enable middleware to serve log-ui (HTML, JS, CSS, etc.).\n    app.UseSerilogUi(opts =\u003e [...]);\n\n    (...)\n}\n```\n\n### For further configuration: [:fast_forward:](https://github.com/serilog-contrib/serilog-ui/wiki/Configure)\n\nDo you want to test the package on-the-fly? Try out the [samples](https://github.com/serilog-contrib/serilog-ui/wiki/Develop#sample-applications), with no configuration required!\n\n## Issues and Contribution\n\nEverything is welcome! :trophy: See the [contribution guidelines](https://github.com/serilog-contrib/serilog-ui/blob/master/CONTRIBUTING.md) for details.\n\nFor details on running the project, start reading from [Develop](https://github.com/serilog-contrib/serilog-ui/wiki/Develop).\n\n## License\n\nSee [LICENSE](https://github.com/serilog-contrib/serilog-ui/blob/master/LICENSE).\n\n## Project Sponsors\n\n\u003ca href=\"https://www.jetbrains.com/\" target=\"_blank\"\u003e\u003cimg src=\"https://resources.jetbrains.com/storage/products/company/brand/logos/jb_beam.svg\" style=\"width:120px\"/\u003e\u003c/a\u003e\n\n## Contributors\n\n\u003c!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section --\u003e\n\u003c!-- prettier-ignore-start --\u003e\n\u003c!-- markdownlint-disable --\u003e\n\u003ctable\u003e\n  \u003ctbody\u003e\n    \u003ctr\u003e\n      \u003ctd align=\"center\" valign=\"top\" width=\"10%\"\u003e\u003ca href=\"https://stackoverflow.com/users/1385614/mohsen-esmailpour\"\u003e\u003cimg src=\"https://avatars.githubusercontent.com/u/1659032?v=4?s=60\" width=\"60px;\" alt=\"Mohsen Esmailpour\"/\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003eMohsen Esmailpour\u003c/b\u003e\u003c/sub\u003e\u003c/a\u003e\u003cbr /\u003e\u003ca href=\"https://github.com/serilog-contrib/serilog-ui/commits?author=mo-esmp\" title=\"Code\"\u003e💻\u003c/a\u003e \u003ca href=\"#projectManagement-mo-esmp\" title=\"Project Management\"\u003e📆\u003c/a\u003e \u003ca href=\"https://github.com/serilog-contrib/serilog-ui/commits?author=mo-esmp\" title=\"Tests\"\u003e⚠️\u003c/a\u003e\u003c/td\u003e\n      \u003ctd align=\"center\" valign=\"top\" width=\"10%\"\u003e\u003ca href=\"https://www.matteogregoricchio.com/\"\u003e\u003cimg src=\"https://avatars.githubusercontent.com/u/32459930?v=4?s=60\" width=\"60px;\" alt=\"Matteo Gregoricchio\"/\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003eMatteo Gregoricchio\u003c/b\u003e\u003c/sub\u003e\u003c/a\u003e\u003cbr /\u003e\u003ca href=\"https://github.com/serilog-contrib/serilog-ui/commits?author=followynne\" title=\"Code\"\u003e💻\u003c/a\u003e \u003ca href=\"https://github.com/serilog-contrib/serilog-ui/commits?author=followynne\" title=\"Documentation\"\u003e📖\u003c/a\u003e \u003ca href=\"https://github.com/serilog-contrib/serilog-ui/commits?author=followynne\" title=\"Tests\"\u003e⚠️\u003c/a\u003e\u003c/td\u003e\n      \u003ctd align=\"center\" valign=\"top\" width=\"10%\"\u003e\u003ca href=\"https://github.com/sommmen\"\u003e\u003cimg src=\"https://avatars.githubusercontent.com/u/8641495?v=4?s=60\" width=\"60px;\" alt=\"sommmen\"/\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003esommmen\u003c/b\u003e\u003c/sub\u003e\u003c/a\u003e\u003cbr /\u003e\u003ca href=\"https://github.com/serilog-contrib/serilog-ui/commits?author=sommmen\" title=\"Code\"\u003e💻\u003c/a\u003e\u003c/td\u003e\n      \u003ctd align=\"center\" valign=\"top\" width=\"10%\"\u003e\u003ca href=\"http://igecelabs.net/\"\u003e\u003cimg src=\"https://avatars.githubusercontent.com/u/2063980?v=4?s=60\" width=\"60px;\" alt=\"Israel Gómez de Celis\"/\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003eIsrael Gómez de Celis\u003c/b\u003e\u003c/sub\u003e\u003c/a\u003e\u003cbr /\u003e\u003ca href=\"https://github.com/serilog-contrib/serilog-ui/commits?author=igece\" title=\"Code\"\u003e💻\u003c/a\u003e\u003c/td\u003e\n      \u003ctd align=\"center\" valign=\"top\" width=\"10%\"\u003e\u003ca href=\"https://github.com/traien\"\u003e\u003cimg src=\"https://avatars.githubusercontent.com/u/16708328?v=4?s=60\" width=\"60px;\" alt=\"Osama Bashir\"/\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003eOsama Bashir\u003c/b\u003e\u003c/sub\u003e\u003c/a\u003e\u003cbr /\u003e\u003ca href=\"https://github.com/serilog-contrib/serilog-ui/commits?author=traien\" title=\"Code\"\u003e💻\u003c/a\u003e\u003c/td\u003e\n      \u003ctd align=\"center\" valign=\"top\" width=\"10%\"\u003e\u003ca href=\"https://rmauro.dev/\"\u003e\u003cimg src=\"https://avatars.githubusercontent.com/u/3687018?v=4?s=60\" width=\"60px;\" alt=\"Ricardo\"/\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003eRicardo\u003c/b\u003e\u003c/sub\u003e\u003c/a\u003e\u003cbr /\u003e\u003ca href=\"https://github.com/serilog-contrib/serilog-ui/commits?author=ricardodemauro\" title=\"Code\"\u003e💻\u003c/a\u003e\u003c/td\u003e\n      \u003ctd align=\"center\" valign=\"top\" width=\"10%\"\u003e\u003ca href=\"https://github.com/hansoncaleb\"\u003e\u003cimg src=\"https://avatars.githubusercontent.com/u/8008108?v=4?s=60\" width=\"60px;\" alt=\"Caleb Hanson\"/\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003eCaleb Hanson\u003c/b\u003e\u003c/sub\u003e\u003c/a\u003e\u003cbr /\u003e\u003ca href=\"https://github.com/serilog-contrib/serilog-ui/commits?author=hansoncaleb\" title=\"Code\"\u003e💻\u003c/a\u003e\u003c/td\u003e\n      \u003ctd align=\"center\" valign=\"top\" width=\"10%\"\u003e\u003ca href=\"https://github.com/Millarex\"\u003e\u003cimg src=\"https://avatars.githubusercontent.com/u/55946676?v=4?s=60\" width=\"60px;\" alt=\"Aleksei\"/\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003eAleksei\u003c/b\u003e\u003c/sub\u003e\u003c/a\u003e\u003cbr /\u003e\u003ca href=\"https://github.com/serilog-contrib/serilog-ui/commits?author=Millarex\" title=\"Code\"\u003e💻\u003c/a\u003e\u003c/td\u003e\n      \u003ctd align=\"center\" valign=\"top\" width=\"10%\"\u003e\u003ca href=\"https://github.com/chaadfh\"\u003e\u003cimg src=\"https://avatars.githubusercontent.com/u/133214342?v=4?s=60\" width=\"60px;\" alt=\"chaadfh\"/\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003echaadfh\u003c/b\u003e\u003c/sub\u003e\u003c/a\u003e\u003cbr /\u003e\u003ca href=\"https://github.com/serilog-contrib/serilog-ui/commits?author=chaadfh\" title=\"Code\"\u003e💻\u003c/a\u003e\u003c/td\u003e\n      \u003ctd align=\"center\" valign=\"top\" width=\"10%\"\u003e\u003ca href=\"https://github.com/phillduffy\"\u003e\u003cimg src=\"https://avatars.githubusercontent.com/u/710550?v=4?s=60\" width=\"60px;\" alt=\"Phill Duffy\"/\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003ePhill Duffy\u003c/b\u003e\u003c/sub\u003e\u003c/a\u003e\u003cbr /\u003e\u003ca href=\"https://github.com/serilog-contrib/serilog-ui/commits?author=phillduffy\" title=\"Code\"\u003e💻\u003c/a\u003e\u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n      \u003ctd align=\"center\" valign=\"top\" width=\"10%\"\u003e\u003ca href=\"https://github.com/uthmanrahimi\"\u003e\u003cimg src=\"https://avatars.githubusercontent.com/u/45357615?v=4?s=60\" width=\"60px;\" alt=\"Uthman\"/\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003eUthman\u003c/b\u003e\u003c/sub\u003e\u003c/a\u003e\u003cbr /\u003e\u003ca href=\"https://github.com/serilog-contrib/serilog-ui/commits?author=uthmanrahimi\" title=\"Code\"\u003e💻\u003c/a\u003e\u003c/td\u003e\n      \u003ctd align=\"center\" valign=\"top\" width=\"10%\"\u003e\u003ca href=\"https://github.com/jorgevp\"\u003e\u003cimg src=\"https://avatars.githubusercontent.com/u/3268148?v=4?s=60\" width=\"60px;\" alt=\"jorgevp\"/\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003ejorgevp\u003c/b\u003e\u003c/sub\u003e\u003c/a\u003e\u003cbr /\u003e\u003ca href=\"https://github.com/serilog-contrib/serilog-ui/commits?author=jorgevp\" title=\"Code\"\u003e💻\u003c/a\u003e\u003c/td\u003e\n      \u003ctd align=\"center\" valign=\"top\" width=\"10%\"\u003e\u003ca href=\"https://techgarage.ir/\"\u003e\u003cimg src=\"https://avatars.githubusercontent.com/u/126519308?v=4?s=60\" width=\"60px;\" alt=\"Tech Garage\"/\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003eTech Garage\u003c/b\u003e\u003c/sub\u003e\u003c/a\u003e\u003cbr /\u003e\u003ca href=\"https://github.com/serilog-contrib/serilog-ui/commits?author=techgarage-ir\" title=\"Code\"\u003e💻\u003c/a\u003e\u003c/td\u003e\n    \u003c/tr\u003e\n  \u003c/tbody\u003e\n\u003c/table\u003e\n\n\u003c!-- markdownlint-restore --\u003e\n\u003c!-- prettier-ignore-end --\u003e\n\n\u003c!-- ALL-CONTRIBUTORS-LIST:END --\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fserilog-contrib%2Fserilog-ui","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fserilog-contrib%2Fserilog-ui","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fserilog-contrib%2Fserilog-ui/lists"}