Convert KQL string to Query DSL

Is there a package I can use to convert a KQL string to the query DSL for elasticsearch?
This question is outdated as that package no longer exists.

The kbn-es-query package has been relocated to the data plugin, but all of the same methods should be available there:

// old location
import { buildEsQuery } from '@kbn/es-query';

// new location; grouped under an `esQuery` namespace
import { esQuery } from '../../src/plugins/data/public';

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