Insert Postgresql database into Elasticsearch Using Logstash
Insert Postgresql database into Elasticsearch Using Logstash Ever want to search your database entities from Elasticsearch? Now you can use Logstash to do just that! In this blog we introduce the JDBC input , which has been created to import data from any database that supports the JDBC interface . Below, we show you few examples of using this plugin. Getting Started Installation bin / plugin install logstash - input - jdbc Driver Support Popular databases like Oracle, Postgresql, and MySQL have compatible JDBC drivers that can be used with this input. This plugin does not come packaged with any of these JDBC drivers out of the box, but is straightforward to download. You can then configure the plugin to use the desired jdbc driver library. The setting jdbc_driver_library and jdbc_driver_class are used to load the library path and the driver's class name. Lets get started with the examples! Example 1: Simple Postgres Input Here is an example of how you get st...