How to integrate Logstash with ElasticSearch

0 votes

Hi Guys,

I am new in ELK. I want to store my Logstash data in ElasticSearch database. Can anyone tell me how can I do this?

Jun 19, 2020 in ELK Stack by akhtar
• 38,260 points
1,270 views

1 answer to this question.

0 votes

Hi@akhtar,

You can use elasticsearch plugin to integrate Logstash with ElasticSearch. In your Logstash configuration file write down the below-given code.

output {
 elasticsearch {
     hosts => "localhost:9200"
     index => "webdb"
     document_type => "weblog"
 }
}

answered Jun 19, 2020 by MD
• 95,460 points

Related Questions In ELK Stack

0 votes
1 answer

How to change hostname in Kibana?

Hi@akhtar, You can change the hostname of your ...READ MORE

answered Jun 19, 2020 in ELK Stack by MD
• 95,460 points
4,481 views
0 votes
1 answer

How to install Kibana in Linux system?

Hi@akhtar, You can follow the below-given steps to ...READ MORE

answered Jun 19, 2020 in ELK Stack by MD
• 95,460 points
1,064 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,034 views
+2 votes
1 answer
0 votes
1 answer

How to install Elasticsearch tool in Linux System ?

Hi@akhtar, You can follow the below-given steps to ...READ MORE

answered Jun 19, 2020 in ELK Stack by MD
• 95,460 points
1,016 views
0 votes
2 answers

How to run Elasticsearch as root user in Linux machine?

Step 1: Pull images of elastic search ...READ MORE

answered Jun 19, 2020 in ELK Stack by PAWAN
• 380 points
7,648 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