HCM allows you to pre-populate your system with historical logs downloaded from HCP. Importing logs gives you the ability to keep past metrics available from before your system was deployed.
Important: To import historical logs, the directory you're importing to must have read, write, and execute permissions.
- Read permissions to read the file.
- Write permissions to unpack the ZIP files in the directory.
- Execute permissions to list the files in the directory.
Logs can be associated with a source that has already been created, or as a separate source to view the raw data.
You can import historical logs using the Monitoring web app, REST API, or CLI.
For REST API, use command POST /historicalsources. For CLI, use command createHistoricalSource.
To import logs into HCM: