Custom labels not used in CSV export

Title pretty much says it all.
In Kibana, have some custom labels in a Data View.
In the results from a search the column headers use the custom labels.
Export to CSV those results and the column names are the original property paths from JSON documents.

Repeat of this post, that is closed now. Anyone from Elastic have a work around or this on the radar?

Hi @qd-danh

are you trying to export a Discover search or a Lens table?
Also, what version of the stack do you have?

export to CSV from Discover search.

version 8.11

You can track this existing issue: [Reporting] Add customer label field name in CSV export · Issue #100374 · elastic/kibana · GitHub