JVM memory (Windows and Linux) and CPU utilization (Linux only) is written to the memory-diagnostic.log within <install home>/logs/<JVM>/<product>/ (such as .../logs/IA/IA/). This log contains snapshots every three minutes. Since it writes one line per three minutes, this log doesn't rollover frequently and would contain a sizeable chunk of historical data. This is enabled by default, so you'll already have historical information in your system.
Here's a sample of one of my idle Assure instance's memory-diagnostic.log:
2021-01-05 15:23:06,215 INFO (IA-Kernel-SystemDiagLogging) [cosm.base.util.diagnostics.SystemDiagnostics16Logger].[logDiagnosticsInformation]: JVM Heap utilization (in MB): Used Memory: 788, Free Memory: 318, Total Memory: 1107, Max Memory: 3641, # processors: 4, System Load Average: 0.0
2021-01-05 15:26:06,215 INFO (IA-Kernel-SystemDiagLogging) [cosm.base.util.diagnostics.SystemDiagnostics16Logger].[logDiagnosticsInformation]: JVM Heap utilization (in MB): Used Memory: 786, Free Memory: 320, Total Memory: 1107, Max Memory: 3641, # processors: 4, System Load Average: 0.0
2021-01-05 15:29:06,215 INFO (IA-Kernel-SystemDiagLogging) [cosm.base.util.diagnostics.SystemDiagnostics16Logger].[logDiagnosticsInformation]: JVM Heap utilization (in MB): Used Memory: 791, Free Memory: 315, Total Memory: 1107, Max Memory: 3641, # processors: 4, System Load Average: 0.0