Logstash count API rather than _search API

Hello.
Is there a way to use _count API in logstash input elasticsearch plugin rather than the default _search one?

I know that I can solve this by using exec plugin and some custom curl command, but I wonder if there is a way without any plugin modification.

Thanks!

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.