-
Notifications
You must be signed in to change notification settings - Fork 257
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add more data frame examples #388
Comments
ecommerce - simple pivot - finding my best customers
note: condensed JSON formatting has been used for easier read-ability of the pivot object The above example will transform order data into a customer centric index. This makes it easier to answer questions such as:
It is possible to answer these questions using aggregations alone, however data frames allows you to persist this data as a customer centric index. This has certain advantages in that enables you to analyze data at scale and gives more flexibility to explore and navigate data from a customer centric perspective and in some instances can make creating visualizations much simpler. |
flights stats - finding airline carriers with the most delays
The above example will transform flight data into a entity centric index for flight carriers. This makes it easier to answer questions such as:
Please note that this data is fictional and does not reflect actual delays or flight stats for any of the featured destination or origin airports. possible todos - protect against div by zero, use flight_count to weight avgs |
web logs - with scripted metrics - finding suspicious clientip's
The above example will transform web log data into a clientip centric index. This makes it easier to answer questions such as:
This is a basic example of a scripted metric. They are very flexible and will allow for very complex processing. |
I picked up the web logs and best customers scenarios. |
This issue tracks the addition of more examples similar to https://www.elastic.co/guide/en/elastic-stack-overview/master/ecommerce-dataframes.html
The text was updated successfully, but these errors were encountered: