Node-Red, InfluxDB and Grafana, if you want to go the Open-Source route
1st choice: Ignition - their collection of graphs and database connectivity is great.
What ball park costs are we looking at ? This isn't mission critical data, but just for troubleshooting generally for a single application.
Get in touch with them, but I think the lower tiers is going to be north of $7k
NodeRed will speak to an AB PLC, put the data in InfluxDB and use Grafana for trend graphs. Lots of help online.
Along those lines, here is a data logging framework using pylogix: https://github.com/drbitboy/pylogix_loggerI have no experience in this and will be looking myself in the future, but I saw PyLogix mentioned in other threads and it appears you could set that up to log any tag on a rockwell network.