How do I verify that packetbeat transmits data to Elasticsearch

Now I have two hosts. ES and Kibana are deployed on host A (Ubuntu, single network card) and packetbeat is deployed on host B (Ubuntu, dual network card). Host B can open ports 9200 and 5601 of host A by using Firefox browser.
The problem is that host B does not transmit JSON data to ES of host A. How do I check and set

Did you try to run packetbeat with debug mode enabled? Could you please share the beat configuration?