Configuring Logstash for database input

I am taking the example of a blog website that is built using a MySQL database. Basically, we are going to configure Logstash using JDBC input plugin to connect with a MySQL database. After connecting to the MySQL database, we will run the query to fetch the records from the database and will push that record into the Elasticsearch index.

Basically, a blog website is running using the data from the MySQL database and I don't want to change anything in my application, but I still want to get the insight of the blog data. This is an ideal situation where Elastic Stack can do the magic, as we just need to connect to the MySQL database and run a query to get the data; once the data is in, we can create ...

Get Mastering Kibana 6.x now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.