Lens for drag-and-drop analysis
📖 Scenario: You work as a data analyst using Elasticsearch. You want to create a simple Lens visualization that lets you drag and drop fields to analyze sales data easily.
🎯 Goal: Build a Lens configuration JSON that defines a drag-and-drop analysis for sales data, showing total sales by product category.
📋 What You'll Learn
Create a base index pattern for sales data
Add a configuration for a metric to sum sales amounts
Add a configuration for a bucket to group by product category
Output the final Lens configuration JSON
💡 Why This Matters
🌍 Real World
Elasticsearch Lens helps analysts quickly explore and visualize data by dragging and dropping fields without writing complex queries.
💼 Career
Data analysts and engineers use Lens configurations to build dashboards and reports that help businesses understand trends and make decisions.
Progress0 / 4 steps