# Custom metricbeat sql query not ingest into Elasticsearch?

**URL:** <https://discuss.elastic.co/t/custom-metricbeat-sql-query-not-ingest-into-elasticsearch/368155>\
**Category:** Elasticsearch\
**Created:** [October 3, 2024, 1:24am UTC](https://discuss.elastic.co/t/custom-metricbeat-sql-query-not-ingest-into-elasticsearch/368155 "2024-10-03T01:24:27Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![LuciusLin](https://avatars.discourse-cdn.com/v4/letter/l/91b2a8/32.png) [@LuciusLin](https://discuss.elastic.co/u/LuciusLin)\
**Post date:** [October 3, 2024, 1:24am UTC](https://discuss.elastic.co/t/custom-metricbeat-sql-query-not-ingest-into-elasticsearch/368155/1 "2024-10-03T01:24:27Z")

</div>

Hi  
Can anyone kindly help me with a custom metricbeat sql query not ingest into Elasticsearch?

Do refer to the attached debug log I have gotten from the server metricbeat log.

 ![custom_query](https://us1.discourse-cdn.com/elastic/original/3X/8/5/859a3dc68a40367ee57f5933476342457565a5b2.jpeg)

The log did not show any error, however, I can't find the data in my Kibana. So, I've guessed that Elasticsearch did not ingest or has drop the event. If there is such event, should there be any log I can find in Elasticsearch?

Your help is greatly appreciated!

Regards  
Willy
