Hi, I have a question how can I turn my fields.userinfo.Email.Keywords into a count column. I tried a few ways and I keep getting errors.
Thanks
Hi, I have a question how can I turn my fields.userinfo.Email.Keywords into a count column. I tried a few ways and I keep getting errors.
Thanks
I figure it out.
SELECT TOP 10 fields.UserInfo.RetailerLocationStoreNumber as "Store Number", fields.UserInfo.RetailerLocationCity as "City",
COUNT(fields.UserInfo.RetailerLocationCity) as Activity
FROM "beauty-fluent-*"
Where NOT fields.UserInfo.RetailerLocationStoreNumber ='0' and fields.UserInfo.RetailerLocationStoreNumber IS NOT NULL
Group By fields.UserInfo.RetailerLocationStoreNumber, fields.UserInfo.RetailerLocationCity
Order by Activity DESC,fields.UserInfo.RetailerLocationStoreNumber, fields.UserInfo.RetailerLocationCity
I guess I just needed to step away to think it out.
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
© 2020. All Rights Reserved - Elasticsearch
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant logo are trademarks of the Apache Software Foundation in the United States and/or other countries.