Perform SQL queries against ElasticSearch.
ESSQL can perform queries against Elasticsearch indices and return results in tabular format by using a custom SQL dialect.
NOTE: ESSQL is not compatible with the SQL dialect provided by the X-Pack for ElasticSearch.
SELECT
fun1(x) AS fun_x,
y,
sum(x) AS SUM
FROM
"test-index"
WHERE
QUERYSTRING ` x:>1000 AND log.level.descr:3 `
GROUP BY
x,y
HAVING
SUM(z) > 100
ORDER BY
x, y DESC
LIMIT 10000
python -m 'essql.tests.test' 'SELECT x,y,z,log.level WHERE QUERYSTRING `x:>=1003 and y:<1002` '
- Diego Billi
This project is licensed under the GNUv3 License - see the LICENSE file for details