Querying with Elasticsearch
Now that we have a functioning data source, let’s build a regular time series visualization panel to get a feel for how we’re going to present the data. Remember that we want to be able to look at the kinds of calls made to 311 across different neighborhoods, so let’s first make a query just to get an idea of how many graffiti calls are made. You can do this in Explore, but we’re going to build on our panel as we go, so you’ll want to start with a dashboard and a new time series panel visualization.
Go to the panel’s Query tab to access the Elasticsearch data source query. You’ll notice its similarity to the InfluxDB Query tab from previous chapters. The terminology may be a little different between Elasticsearch and InfluxDB, but the concepts are very similar. Let’s enter a query string into the Query field. Elasticsearch leverages a powerful Google-like search engine called Lucene to perform text...