I am new in elastic search.
How I can convert the following SQL statement into elastic search query?
Select sum(totaldevicecount), Datasource from
(select distinct oskey, Custkey, Productkey,
timekey, Totaldevicecount, Datasource from es_reporting_data_new)
group by datasource;
Thanks in advance and can any will suggest me answer for the above one, It will help full to me