I am trying to connect with table from Oracle Database, and read records through logstash, and then to insert into Elastic search. And the same I want to do in a Linux system.
So far I understood that I have to configure logstash input plugin.
Could you please help me, how can I configure the same.
You can use JDBC input plugin for getting the data from oracle database.
For that we have to provide path to JDBC driver, Connection string, User, Password, Schedule(Logstash will poll the DB based on the Cron), Statement(Query) etc., in the configuration.
it looks something like this:
I created logstash-ora.conf file in /etc/logstash/conf.d/ directory.
And placed required oracle connection string with credentials, and tried with a simple query , "select * from DUAL". And its working perfectly fine..
You can see in the below screenshot, "rawsearchdata" index got created!!
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.