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

PropertyRequiredDescription
ValueYesDefines the list of allowed hosts.

Kestrel

Endpoints

Http

PropertyRequiredDescription
UrlYesSpecifies the URL for the Http endpoint.

ClientSettings

PropertyRequiredDescription
BackendUrlYesSpecifies the backend URL.
GrafanaUrlNoSpecifies the Grafana URL.
DefaultUserNoSpecifies the default (demo) username.
DefaultPasswordNoSpecifies the default (demo) password.
MetricsInflowRootSchemaYesSpecifies the root schema for metrics inflow.
MetricsInflowAccountYesSpecifies the metrics inflow account.
OAuthRedirectPathNoSpecifies 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.