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,120 points
137 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,010 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,010 points
734 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,010 points
123 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 26, 2018 in DevOps & Agile by DragonLord999
• 8,450 points
895 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,010 points
116 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
1,394 views