How can I convert hexademical to binary?

Hi.
I have packet data and type is hexadecimal.


when I change to json, it looks like 01:00:00:80:00:00:00:01:00:00:00 in kibana's discover.

I want to change this hexadecimal type to binary in kibana.
do I need to change at the logstash configuration file ? or can I change at the kibana scripted field?

I searched a lot but I have no idea how can I change the type.

There are clear rules on how to do it.
Better do this before loading into the index, if possible.

hello. thank you for replying.

I have many hexadecimal data in packet, then how can I change all the hexadecimal type to binary before loading into the index?