How i can add option field in Kibana metrics

Hello everybody. I need help. how can add field option in kibana. the result should be like the follow pictures.
thank in advance

I'm not really sure what you're trying to accomplish. Could you provide an example of a document from the data you're visualizing? Are you trying to add the dropdown, or the visualizations?