简体   繁体   中英

elasticsearch php nested aggregations

I tried searching an trying. I need to group the nested fields. The sql query is as follows:

SELECT p_application_category,
       Sum(p_recv_bytes) as download,
       p_date
    FROM ZLog2 $w
    group by p_application_category;

I solved the problem with elastic sql plugin. It makes regular sql statements available in elastic.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM