how to connect ELK to Oracle DB using JDBC input plugin

0 votes

How do I connect to ORACLE DB and transfer data to elasticsearch? 

I installed elasticsearch, logstash, and kibana, but I can't find the config file that allows me to connect. 

My product's version number is 7.17.8.

Jan 3, 2023 in DevOps on Cloud by Damonlang
• 1,230 points
660 views

No answer to this question. Be the first to respond.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
0 votes

To connect ELK (Elasticsearch, Logstash, and Kibana) to an Oracle database using the JDBC input plugin, you will need to follow these steps:

  1. Install the JDBC input plugin on Logstash. You can do this by using the logstash-plugin command:
logstash-plugin install logstash-input-jdbc
  1. Download the Oracle JDBC driver and place it in the Logstash classpath. You can do this by placing the JAR file in the "lib" directory of your Logstash installation.

  2. Create a new configuration file for the JDBC input plugin in Logstash. You can do this by creating a file called "oracle.conf" in the "conf.d" directory of your Logstash installation.

  3. In the configuration file, specify the connection details for your Oracle database. This includes the JDBC URL, username, and password. You will also need to specify the path to the JDBC driver JAR file.

  4. In the configuration file, specify the SQL query that you want to use to extract data from the database. You can use placeholders in the query to specify dynamic values, such as timestamps.

  5. Start Logstash and pass it the configuration file you just created. Logstash will use the JDBC input plugin to connect to the Oracle database, extract the data, and send it to Elasticsearch.

  6. You can then use Kibana to visualize the data in Elasticsearch.

I hope this helps! Let me know if you have any questions.

answered Jan 5, 2023 by David
• 220 points

edited Mar 5

Related Questions In DevOps on Cloud

0 votes
1 answer

How to control development/prod/staging application settings using azure functions?

You should use a build-release system like ...READ MORE

answered May 11, 2018 in DevOps on Cloud by ajs3033
• 7,300 points
1,615 views
0 votes
0 answers

How to mount the S3 bucket using IAM role or S3fs and use in ElasticBeanstalk

Hi Team, Can you please confirm how we ...READ MORE

Sep 20, 2019 in DevOps on Cloud by rahulkathpal
• 120 points
2,187 views
0 votes
1 answer

How to use the pipeline setup and deploy the war file using the ansible,docker and kubernettes

Hi@Venkata, You can create an Ansible-Playbook to deploy ...READ MORE

answered Sep 1, 2020 in DevOps on Cloud by MD
• 95,460 points
1,277 views
0 votes
1 answer

How to create user and password in Windows EC2 instance using boto3 Script?

Hi, I don't think AWS will allow you ...READ MORE

answered Sep 23, 2020 in DevOps on Cloud by MD
• 95,460 points
2,496 views
+5 votes
7 answers

Docker swarm vs kubernetes

Swarm is easy handling while kn8 is ...READ MORE

answered Aug 27, 2018 in Docker by Mahesh Ajmeria
4,465 views
+15 votes
2 answers

Git management technique when there are multiple customers and need multiple customization?

Consider this - In 'extended' Git-Flow, (Git-Multi-Flow, ...READ MORE

answered Mar 27, 2018 in DevOps & Agile by DragonLord999
• 8,450 points
4,273 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP