You can make data available in OPC UA HA (Historical Access) that comes from any supported External Historian that can be used as a data source. Here is an example, using InfluxDB.
Start InfluxDB and configure a connection to it from the External Historian feature. Here's how.
In the main Historian configuration window, check the boxes On and Src for the configured connection. The Src option tells the DataHub instance that this will be the source historian for your OPC UA HA data.

Make sure that the dropdown is set to the same connection.
Click the button to apply the changes.
Now any OPC UA HA client should be able to request historical information on the data points in InfluxDB.