Creating visualizations for scenarios
In this section, we will cover the various scenarios described earlier in this chapter, and create visualizations for each scenario. After streaming data into Elasticsearch, we will configure a new index in Kibana and add a Twitter index into it to view the streaming data as covered in Chapter 1, An Introduction to Kibana.
Number of tweets over a period of time
In the first scenario, we want to find out how many tweets are being tweeted over a period of time for a particular brand. Using this, a company would come to know the frequency of tweets for its brand over a certain period of time, which makes it easier to view the trend rather than going through huge amounts of raw data. Accordingly, they can monitor the number of tweets for that brand, either for their marketing campaign or to know the popularity of the brand.
To create a visualization for this scenario, we will use a line chart:
The y axis will have Count as the metric
The x axis will contain the...