Before we can start building visualizations, we need to set up the index pattern for all indexes that we will potentially have for the Sensor Data Analytics application. We need to do this because our index names are dynamic. We will have one index per day, but we want to be able to create visualizations and dashboards that work across multiple indices of sensor data even when there are multiple indices. To do this, click on the Index Patterns link under the Manage and Administer the Elastic Stack section, as follows:
In the Index pattern field, type in sensor_data* index pattern, as shown in the following screenshot, and click Next step:
On the next screen, in Time Filter Field Name, choose the time field as follows and click on Create index pattern:
We have successfully created the index pattern for our sensor data. Next, we will start building some visualizations.