Elasticsearch pie chart

Hi,
I am using a pie chart visualization with elasticsearch datasource. I would like that instead of count, the name of the port appears, how could I do something like that?
My pie chart:

Thanks in advance and greetings.