Beat can receiver data from kibana or not?

I want to add some button on kibana to send command to beat(like filebeat) ,to control the beat to start to collect log or stop collect ,
I want to know if there have some API to handle communication between kibana and beat.
Somebody know this ?thanks

Have you tried central management? https://www.elastic.co/guide/en/beats/filebeat/current/configuration-central-management.html