Frontend Configuration
Frontend Configuration
This article will detail configuration of the Logship frontend.
The frontend provides a simple visual interface for data analytics and logship database management.
You can find an example configuration here or in the logship deployments repository on GitHub.
Example
{
"Logging": {
"LogLevel": {
"Default": "Information",
"Microsoft": "Warning",
"Microsoft.Hosting.Lifetime": "Information"
}
},
"AllowedHosts": "localhost;",
"Kestrel": {
"Endpoints": {
"Http": {
"Url": "http://+:8000"
}
}
},
"ClientSettings": {
"BackendUrl": "http://localhost:5000",
"GrafanaUrl": "http://localhost:3000",
"DefaultUser": "default",
"DefaultPassword": "default",
"MetricsInflowRootSchema": "logship.frontend.ui.",
"MetricsInflowAccount": "00000000-0000-0000-0000-000000000000",
"OAuthRedirectPath": "https://localhost:8000/login"
}
} Logging
See .NET Logging Configuration for more information.
AllowedHosts
| Property | Required | Description |
|---|---|---|
| Value | Yes | Defines the list of allowed hosts. |
Kestrel
Endpoints
Http
| Property | Required | Description |
|---|---|---|
| Url | Yes | Specifies the URL for the Http endpoint. |
ClientSettings
| Property | Required | Description |
|---|---|---|
| BackendUrl | Yes | Specifies the backend URL. |
| GrafanaUrl | No | Specifies the Grafana URL. |
| DefaultUser | No | Specifies the default (demo) username. |
| DefaultPassword | No | Specifies the default (demo) password. |
| MetricsInflowRootSchema | Yes | Specifies the root schema for metrics inflow. |
| MetricsInflowAccount | Yes | Specifies the metrics inflow account. |
| OAuthRedirectPath | No | Specifies the OAuth redirect path. |
BackendUrl
- URL of the Logship backend (API). Example:
http://localhost:5000.
GrafanaUrl
- Optional link to a Grafana instance for cross-navigation. Leave blank to hide Grafana links.
DefaultUser / DefaultPassword
- Demo credentials pre-filled on the login screen. Remove in production.
MetricsInflowRootSchema
- Prefix for UI metrics emitted by the frontend. Keep consistent across environments to simplify queries.
MetricsInflowAccount
- Account GUID that receives UI metrics. Use a dedicated account for multi-tenant setups.
OAuthRedirectPath
- Full redirect URI registered with your OAuth provider. Example:
https://app.example.com/login.