Download Log Files
To download log files from the
Experience Service, the
Experience Service must be configured with the file location where log files are stored. For information about configuring the log file location, see “Log Files Location” section in
Configuration Parameters. In addition, you must log in as a user that has permission to download log files. By default, members of the Administrators group have permission to download log files. For more information about configuring access to log files see
User Management and Access Control.
To download log files, first enter the following URL in a web browser to obtain a list of available log files:
<protocol>://<twx-host>:<port>/ExperienceService/admin/logs
This returns JSON data that looks similar to the following:
[
{
"name": "thingserver.log",
"href": "https://es.acme.com/ExperienceService/admin/logs?log=thingserver.log"
},
{
"name": "thingserver.log-20170228",
"href": "https://es.acme.com/ExperienceService/admin/logs?log=thingserver.log-20170228"
}
]
Each specific entry corresponds to a log file. For each log file, the value provided for the "href" property can be entered into a web browser to download that log file.