Content
Related issues
- SDNC-646Getting issue details... STATUS
User documentation
The "Log" web client application displays application logs and messaged automatically created by the different active applications.
SDN-R offers a common log service, so that PNFs or other ONAP components could log their data and users can analyses and export such data in a common way.
Specification
A view “LogApp” should be implemented show log entries persistently stored in the UI-database.
The view implements the common ux-framework-table supporting sorting, filtering and pagination on the server.
The table shows the following columns:
- Time stamp
The time stamp of the log entry is displayed in ISO format [https://en.wikipedia.org/wiki/ISO_8601] with milliseconds and always as UTC (example: 2019-02-09T14:08:19.357Z) - Level
The log level as given by the REST-API (field: type) - Component
The component name, which created the log entry. (field: compomentId) - Message
The first 15 characters of the message string. - Actions
A button to show a modal dialog to view all the details of the log entry in one view
A button to delete the selected log entry. Before deletion the user must confirm the deletion.
The view offers a button outside of the table view to offer the function of deleting all entries.
The log entries themselves are stored on an ElasticSearch database. The REST-API is provided by the ApiGateway.
The index is “mwtn” the doctype is “log”.