# ELK stack setup

**URL:** https://discuss.elastic.co/t/elk-stack-setup/291292
**Category:** Logstash
**Created:** [December 9, 2021, 6:04am UTC](https://discuss.elastic.co/t/elk-stack-setup/291292 "2021-12-09T06:04:01Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![girija](https://avatars.discourse-cdn.com/v4/letter/g/96bed5/32.png) [@girija](https://discuss.elastic.co/u/girija)
#### Post date: [December 9, 2021, 6:04am UTC](https://discuss.elastic.co/t/elk-stack-setup/291292/1 "2021-12-09T06:04:01Z")

</div>

Hello

I am new to the ELK world and find myself confused. Although my stack is working fine and I am able to get the logs I want, I am not sure about what all is really required for correct setup and if I have anything extra.

I have fluent bit installed with output config in yml as below:  
output-Elasticsearch.conf: |  
[OUTPUT]  
Name es  
Match \*  
Host ${FLUENT\_ELASTICSEARCH\_HOST}  
Port ${FLUENT\_ELASTICSEARCH\_PORT}  
HTTP\_User user  
HTTP\_Passwd djdk  
Logstash\_Format On  
Replace\_Dots On  
Retry\_Limit False

I also have logstash , Elasticsearch and kibana installed.

Now when I get the logs in Kibana, I see the indexes as logstash in snapshot below:

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/a/7/a7cfca47a3b378e6c3bc49f9d82e281b8ef7dc7d.png)

So fluent-bit is sending to logstash , which then sends it to elastic? Or I can remove my logstash and it will all still work fine?

What is reading the pod logs in kubernetes? if I understand correct, it is fluent-bit and not logstash.

Appreciate some guidance. Thank you.

---

<div class="post-metadata">

### Author: ![Yosri\_Samaali](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/yosri_samaali/32/96074_2.png) [@Yosri\_Samaali](https://discuss.elastic.co/u/Yosri_Samaali)
#### Post date: [December 9, 2021, 8:46am UTC](https://discuss.elastic.co/t/elk-stack-setup/291292/2 "2021-12-09T08:46:48Z")

</div>

[Fluent-bit](https://docs.fluentbit.io/tutorials/ship_to/logstash) has not an output for Logstash. It sends data directly to Elasticsearch. The cause behind the format `logtash-yyyy-MM-dd` is that you're enabling the option:

```auto
Logstash_Format On

```

---

<div class="post-metadata">

### Author: ![girija](https://avatars.discourse-cdn.com/v4/letter/g/96bed5/32.png) [@girija](https://discuss.elastic.co/u/girija)
#### Post date: [December 9, 2021, 9:20am UTC](https://discuss.elastic.co/t/elk-stack-setup/291292/3 "2021-12-09T09:20:29Z")

</div>

Thank you. That clarifies things for me.

---

<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: [January 6, 2022, 9:21am UTC](https://discuss.elastic.co/t/elk-stack-setup/291292/4 "2022-01-06T09:21:18Z")

</div>

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