Configuration

logBee.Frontend behavior can be customized by updating the Configuration\logBee.json file.

A full example of the logBee.json configuration file can be found here.

LogBeeFrontendDomain

The domain of the logBee.Frontend application. This value is used in multiple places:

  • when generating the HTML titles

  • when sending alert emails, as the sender value (no-reply@logbee.dev)

  • sets the default email domain for the authenticated users (user1@logbee.dev).

{
    "LogBeeFrontendDomain": "logbee.dev"
}

StaticResourcesVersion

Property used as query string parameter when loading static resources (css/javascript).

This property should be changed after an application update in order to invalidate the static files cache.

{
    "StaticResourcesVersion": "1.0.0"
}

LogBeeBackendUrl

Root url pointing to logBee.Backend application.

{
    "LogBeeBackendUrl": "http://logBee-backend.myapp.com/"
}

LogBeeFrontendUrl

Root url pointing to logBee.Frontend application.

{
    "LogBeeFrontendUrl": "http://logBee.myapp.com/"
}

LogBeeBackend.BasicAuth.Password

The Basic HTTP authentication scheme password used to connect to logBee.Backend application.

This property should have the same value as the same property from logBee.Backend\Configuration\logBee.json.

{
    "LogBeeBackend.BasicAuth.Password": "_LogBeeBackend_authorization_password_"
}

LogBeeFrontend.BasicAuth.Password

The Basic HTTP authentication scheme password used to connect to logBee.Frontend application.

{
    "LogBeeFrontend.BasicAuth.Password": "_LogBeeFrontend_authorization_password_"
}

LogBee.License

The LogBee on-premises license key. Can be null.

{
    "LogBee.License": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJMaWNlbnNlSWQiOiIzNTczMDI1My00NGRhLTRiZmMtOGQ0MS1iMzUzMDRkZWUyMzciLCJMaWNlbnNlVHlwZSI6IkVudGVycHJpc2UifQ.K4htH3YOulrpVrkTJuHza81VrYloYvTsfRYzb4fpUYI"
}

Database

{
    "Database": {
        "Provider": "MongoDb",
        "MongoDb": {},
        "MySql": {},
        "SqlServer": {}
    }
}
Database.Provider
MongoDb
Sets the database provider to MongoDb.
MySql
Sets the database provider to MySql.
SqlServer
Sets the database provider to MS-SQL.
Database.MongoDb
Required when “Database.MongoDb” is “MongoDb”.
Database.MySql
Required when “Database.Provider” is “MySql”.
Database.SqlServer
Required when “Database.Provider” is “SqlServer”.

Database.MongoDb

Configuration used to connect to MongoDb database.

{
    "Database": {
        "MongoDb": {
            "ConnectionString": "mongodb://localhost:27017?socketTimeoutMS=5000&connectTimeoutMS=5000",
            "DatabaseName": "LogBeeFrontend"
        }
    }
}

Database.MySql

Configuration used to connect to MySql database.

{
    "Database": {
        "MySql": {
            "ConnectionString": "server=localhost;port=3306;database=LogBeeFrontend;uid=<replace_user>;password=<replace_password>;Charset=utf8;"
        }
    }
}

Database.SqlServer

Configuration used to connect to MS-SQL database.

{
    "Database": {
        "SqlServer": {
            "ConnectionString": "Server=localhost;Database=LogBeeFrontend;User ID=<replace_user>;Password=<replace_password>;TrustServerCertificate=True;"
        }
    }
}

Smtp

SMTP configuration used for sending automated emails (alert notifications).

{
    "Smtp": {
        "Host": "smtp.sendgrid.net",
        "Port": 587,
        "UserName": "",
        "Password": "",
        "EnableSsl": false
    }
}

UserInterface

{
    "UserInterface": {
        "NumberOfApplicationsToPreloadOnTheDashboardPage": 6
    }
}
UserInterface.NumberOfApplicationsToPreloadOnTheDashboardPage
Specifies how many applications should be preloaded under the /Dashboard page.

Authorization

{
    "Authorization": {
        "HS256Secret": "00000000-0000-0000-0000-000000000000-00000000-0000-0000-0000-000000000000",
        "AzureActiveDirectory": {}
    }
}
Authorization.HS256Secret
Represents the signature key of the authentication JSON Web Token (JWT).
The authentication JWT must be signed with the secret provided in this property.
More details about authentication can be found here.

Authorization.AzureActiveDirectory

Optional configuration used to set up Azure Active Directory authentication.

More details can be found here.

{
    "Authorization": {
        "AzureActiveDirectory": {
            "ClientId": "<AD Application (client) ID>",
            "ClientSecret": "<secret>",
            "Authority": "https://login.microsoftonline.com/<AD Directory (tenant) ID>/v2.0/"
        }
    }
}

For technical support, questions or any feedback, please feel free to send us a message and we will get back to you.