Adding data using Beats
In the previous recipes in this chapter, we learned how to ingest timestamped data using Elastic Agent and its integrations. Sometimes, you may not find an available Elastic Agent integration for your data source, but there might be a Beats module that supports it. In such cases, using Beats becomes the natural alternative. Beats is a suite of lightweight data shippers that can efficiently gather and transport data to Elasticsearch for analysis and visualization. In this recipe, we will learn how to configure and use Beats to collect data from a data source and send it to Elasticsearch.
By following the steps in the upcoming How to do it… section, you will learn how to set up Metricbeat to monitor Apache Tomcat metrics and stream this data to Elasticsearch. Metricbeat, one of the many Beats shippers supported by Elasticsearch, collects metrics from your systems and services and sends them to Elasticsearch or Logstash for indexing. We have chosen Apache...