KissLog.Frontend¶
Configuration¶
KissLog.Frontend configuration is achieved by updating the KissLog.Frontend\Configuration\KissLog.json
.
Configuration options
ApplicationName¶
Display name of the on-premises KissLog application - used when generating HTML titles.
{
"ApplicationName": "My logging app"
}
AppVersion¶
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.
{
"AppVersion": "1.0.0"
}
InternalLogs.DirectoryPath¶
Specifies the location of the internal logs folder. Path can be either relative or absolute.
{
"InternalLogs.DirectoryPath": "Logs"
}
InternalLogs.MinimumStatusCode¶
Specifies the minimum http status code for the requests which should be saved to internal logs.
{
"InternalLogs.MinimumStatusCode": "400"
}
KissLogBackend.BasicAuth.Password¶
The Basic HTTP authentication scheme password used to connect to KissLog.Backend application.
This property should have the same value as the same property from KissLog.Backend\Configuration\KissLog.json
.
{
"KissLogBackend.BasicAuth.Password": "_This_Password_Should_Be_Replaced_"
}
KissLog.License¶
The KissLog on-premises license key. Can be null.
{
"KissLog.License": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJMaWNlbnNlSWQiOiIzNTczMDI1My00NGRhLTRiZmMtOGQ0MS1iMzUzMDRkZWUyMzciLCJMaWNlbnNlVHlwZSI6IkVudGVycHJpc2UifQ.K4htH3YOulrpVrkTJuHza81VrYloYvTsfRYzb4fpUYI"
}
KissLogBackendUrl¶
Root url pointing to KissLog.Backend application.
{
"KissLogBackendUrl": "http://kisslog-backend.myapp.com/"
}
KissLogFrontendUrl¶
Root url pointing to KissLog.Frontend application.
{
"KissLogFrontendUrl": "http://kisslog.myapp.com/"
}
MediaDirectoryPath¶
Specifies the location of the media files uploaded within the application. Path can be either relative or absolute.
{
"MediaDirectoryPath": ""
}
Database¶
{
"Database": {
"Provider": "SqlServer",
"KissLogDbContext": "Data Source=192.168.16.11;Initial Catalog=KissLog;UID=user;PWD=pass;"
}
}
Database.Provider |
|
---|---|
|
Sets the database provider to MS-SQL |
|
Sets the database provider to MySql |
Database.KissLogDbContext |
|
---|---|
Database connection string |
|
Example |
|
|
“Data Source=192.168.16.11;Initial Catalog=KissLog;UID=user;PWD=pass;” |
|
“server=192.168.16.11;port=3306;database=KissLog;uid=root;password=pass;Charset=utf8;” |
Smtp¶
SMTP configuration used for sending automated emails (alert notifications).
{
"Smtp": {
"Host": "smtp.sendgrid.net",
"Port": 587,
"UserName": "",
"Password": "",
"EnableSsl": false,
"From": {
"Address": "support@kisslog.net",
"DisplayName": "KissLog"
}
}
}
UserInterface¶
{
"UserInterface": {
"ForceAvatarSrc": null,
"CreatePermalinkWithAnonymousAccess": { },
"Applications": { },
"Dashboard": { }
}
}
UserInterface.ForceAvatarSrc |
|
---|---|
When a value is provided, the user avatars (displayed in the user-interface) will always use this value. This is useful when you need to prevent any external resources loading. |
|
|
User avatars will be generated using Gravatar (default). |
|
User avatars will always load the provided Example: |
CreatePermalinkWithAnonymousAccess¶
{
"UserInterface": {
"CreatePermalinkWithAnonymousAccess": {
"IsEnabled": true,
"ValidForSeconds": 7200
}
}
}
CreatePermalinkWithAnonymousAccess.IsEnabled |
|
---|---|
|
Permalinks created from the user interface (links to request logs) can be anonymously accessed for a limited period of time. |
|
Permalinks created from the user interface can be accessed only by authenticated users. |
CreatePermalinkWithAnonymousAccess.ValidForSeconds |
---|
Required when |
Specifies for how long after creation the permalink can be anonymously accessed. |
Applications¶
{
"UserInterface": {
"Applications": {
"LoadHowMany": 6
}
}
}
Applications.LoadHowMany |
---|
Specifies how many applications should be preloaded under the |
Dashboard¶
{
"UserInterface": {
"Dashboard": {
"ShowReferringSites": true
}
}
}
ShowReferringSites |
|
---|---|
|
The list of individual referring sites will be visible under the Dashboard page. |
|
The list of individual referring sites will not be visible under the Dashboard page. |