# Logstash pipeline problem (logstash not appearing in kibana)

**URL:** https://discuss.elastic.co/t/logstash-pipeline-problem-logstash-not-appearing-in-kibana/273429
**Category:** Logstash
**Created:** [May 19, 2021, 3:22pm UTC](https://discuss.elastic.co/t/logstash-pipeline-problem-logstash-not-appearing-in-kibana/273429 "2021-05-19T15:22:13Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![farciarz121](https://avatars.discourse-cdn.com/v4/letter/f/b9e5f3/32.png) [@farciarz121](https://discuss.elastic.co/u/farciarz121)
#### Post date: [May 19, 2021, 3:22pm UTC](https://discuss.elastic.co/t/logstash-pipeline-problem-logstash-not-appearing-in-kibana/273429/1 "2021-05-19T15:22:13Z")

</div>

Hi guys, thank you for having me on this forum.

I am trying to set up ELK for the first time. I have followed installation instructions from [elastic.co](http://elastic.co) with numbers of videos on yt and I have finally installed ELK.

The problem is that when I open Kibana and monitor health of the stack, I can see Kibana and Elastic but not Logstash. Something seems to be off.

I did some researches and I found on one of the topics that in order for this to work, I will need to configure pipe lines (I wish it was described in installation tutorial). Is that correct? Where can I find instructions on how to do it?

Finally, once I finish implementation of it on my home lab, I want to implement it in the production. I will need to purchase license since all traffic in production needs to be encrypted. However, I was no able to find out how much will this cost us.

CONFIGURATION  
jdk 16.0.1

* * *

* * *

elastic.yml  
---------------------------------- Cluster -----------------------------------  
cluster.name: test-cluster  
------------------------------------ Node ------------------------------------  
node.name: test-node1  
----------------------------------- Paths ------------------------------------  
path.data: "C:\ELK\data"  
path.logs: "C:\ELK\logs"

\*everything else default

* * *

* * *

logstash.conf

* * *

input {  
beats {  
port =\> 5044  
type =\> "log"  
}  
}

output {  
elasticsearch {  
hosts =\> "localhost:9200"  
manage\_template =\> false  
index =\> "%{[@metadata][beat]}-%{+yyyy.ww}"  
document\_type =\> "%{[@metadata][type]}"  
}  
}  
\*everything else is default

* * *

* * *

kibana  
\*default

---

<div class="post-metadata">

### Author: ![farciarz121](https://avatars.discourse-cdn.com/v4/letter/f/b9e5f3/32.png) [@farciarz121](https://discuss.elastic.co/u/farciarz121)
#### Post date: [May 19, 2021, 3:43pm UTC](https://discuss.elastic.co/t/logstash-pipeline-problem-logstash-not-appearing-in-kibana/273429/2 "2021-05-19T15:43:55Z")

</div>

NVM I could not wait for the response so I finally found out what was the problem.

For users who face similar issue.

U will find on the forum that you need to enable following parameters:  
xpack.monitoring.enabled: true  
xpack.monitoring.elasticsearch.url: ["[http://localhost:9200](http://localhost:9200)"]  
xpack.monitoring.collection.interval: 10s  
xpack.monitoring.collection.pipeline.details.enabled: true

However these are already depreciated. Instead use (assuming you hosting elastic and kibana on the same host)  
xpack.monitoring.elasticsearch.host: ["[http://localhost:9200](http://localhost:9200)"]

---

<div class="post-metadata">

### Author: ![leandrojmp](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/leandrojmp/32/107231_2.png) [@leandrojmp](https://discuss.elastic.co/u/leandrojmp)
#### Post date: [May 19, 2021, 4:53pm UTC](https://discuss.elastic.co/t/logstash-pipeline-problem-logstash-not-appearing-in-kibana/273429/3 "2021-05-19T16:53:56Z")

</div>

This kind of monitoring is also deprecated and will not work on future versions, you should monitor the stack using metricbeat.

For logstash you should follow this: [Collect Logstash monitoring data with Metricbeat | Logstash Reference [7.12] | Elastic](https://www.elastic.co/guide/en/logstash/current/monitoring-with-metricbeat.html)

---

<div class="post-metadata">

### Author: ![farciarz121](https://avatars.discourse-cdn.com/v4/letter/f/b9e5f3/32.png) [@farciarz121](https://discuss.elastic.co/u/farciarz121)
#### Post date: [May 19, 2021, 7:51pm UTC](https://discuss.elastic.co/t/logstash-pipeline-problem-logstash-not-appearing-in-kibana/273429/4 "2021-05-19T19:51:12Z")

</div>

I am not sure if this is a right move from elastic. I am planning to use metricbeat down the road. However, on this stage (raw stock installation) I wanted to make sure that all three components of ELK are working well (before I start sending data with beats).

---

<div class="post-metadata">

### Author: ![leandrojmp](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/leandrojmp/32/107231_2.png) [@leandrojmp](https://discuss.elastic.co/u/leandrojmp)
#### Post date: [May 20, 2021, 3:37am UTC](https://discuss.elastic.co/t/logstash-pipeline-problem-logstash-not-appearing-in-kibana/273429/5 "2021-05-20T03:37:06Z")

</div>

You can still monitor your cluster without metricbeat, this is what is called 'legacy monitoring' now, but it is not recommended and will probably stop working sometime in the future.

In production it is recommended to monitor the stack using metricbeat and have a different cluster for monitoring, it can be a single-node cluster just for monitoring.

> **[Monitoring in a production environment | Elasticsearch Guide \[7.12\] | Elastic](https://www.elastic.co/guide/en/elasticsearch/reference/current/monitoring-production.html#monitoring-production)**

---

<div class="post-metadata">

### Author: ![farciarz121](https://avatars.discourse-cdn.com/v4/letter/f/b9e5f3/32.png) [@farciarz121](https://discuss.elastic.co/u/farciarz121)
#### Post date: [May 20, 2021, 11:59am UTC](https://discuss.elastic.co/t/logstash-pipeline-problem-logstash-not-appearing-in-kibana/273429/6 "2021-05-20T11:59:38Z")

</div>

Thank you landrojmp. That is very interesting.

If you don't mind please help me to better understand this.  
First, in production, I set up cluster with 3 nodes (lets call it production cluster)

- 1 for elastic,
- 1 for logstash
- 1 for kibana  
(What is recommended minimal hardware configuration for each mode ?)

Next, I set up a separate cluster, with elastic,logstash and kibana on a single node (lets call it monitoring node).

Finally I install metricbeat on every of 3 nodes in production cluster and I configure beats to send data to monitoring mode.

Is this a correct approach? How can I ensure that all nodes from production cluster "talk" to each other with no problems, and that everything is configured right ?

BTW, this forum is amazing. I it difficult to find support like this nowadays.  
Big thank you.

PS. this is very helpful

> **[Collecting Elasticsearch monitoring data with Metricbeat | Elasticsearch...](https://www.elastic.co/guide/en/elasticsearch/reference/current/configuring-metricbeat.html)**

I think I have a right idea, just need to learn how to use API calls for elasticsearch.

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)
#### Post date: [June 17, 2021, 12:00pm UTC](https://discuss.elastic.co/t/logstash-pipeline-problem-logstash-not-appearing-in-kibana/273429/7 "2021-06-17T12:00:08Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
