Reporting and Logging¶
Kasm offers built in reporting and logging dashboards. The logging settings can be changed in the Settings dashboard and more information on those can be found Here.
By default the logs are retained for one week which would be the maximum amount of time to see the reporting in the dashboard and logs.
For large production deployments, it is recommended that administators utilize an external logging / SIEM solution and ingest Kasm’s File Based Logs.
The reports show the last day of data by default but can be changed by the Time Period dropdown menu.
The Real-Time option will display the last hour of data and refresh the data every five minutes. this is the only option with automatic refresh enabled.
Custom will open a custom time selection menu that allows specific time frames and auto refresh times to be selected. Select custom from the Time Period dropdown and configure the time period needed in the pop up.
The logging dashboard displays logs collected from the entire application. These can be searched separately and split up by process or host.
Basic log options are logging level, limit, which is the amount of logs returned, and Time, which is in minutes from the current time.
Selecting the more filters option will display advanced log filters. The time selection will be set by custom start and end dates and the logs can be filtered by application, process and host. The logs may also be filtered using a username or message. i.e. putting “destroyed” in the search message box will return the logs of the destroyed sessions.
File Based Logs¶
Each role service emits a set or enriched json formatted logs that can be ingested into a SIEM solution of choice.
Important application log events will include an attribute
metric_name. This message is likely something
helpful that can be used for visualization and analysis. A few examples include:
Many metric logs container additional data useful for analysis. Administrators can inspect the logs for details.
Where possible and applicable, the application logs will emit additional attributes Administrators may find useful for context.