# What is logstash, Kibana in simple term?

**URL:** <https://discuss.elastic.co/t/what-is-logstash-kibana-in-simple-term/154191>\
**Category:** Logstash\
**Created:** [October 26, 2018, 11:48am UTC](https://discuss.elastic.co/t/what-is-logstash-kibana-in-simple-term/154191 "2018-10-26T11:48:33Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![inandi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/inandi/32/40801_2.png) [@inandi](https://discuss.elastic.co/u/inandi)\
**Post date:** [October 26, 2018, 11:48am UTC](https://discuss.elastic.co/t/what-is-logstash-kibana-in-simple-term/154191/1 "2018-10-26T11:48:33Z")

</div>

I am learning to use logstash to connect ES with MySQL, JSON file. I am a bit confused. what Logstash really is. some sort of connector or something else.

PS: I know its very immature question, but I want to learn the depth of ELK.

---

<div class="post-metadata">

**Author:** ![balumurari1](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/balumurari1/32/39203_2.png) [@balumurari1](https://discuss.elastic.co/u/balumurari1)\
**Post date:** [October 26, 2018, 12:48pm UTC](https://discuss.elastic.co/t/what-is-logstash-kibana-in-simple-term/154191/2 "2018-10-26T12:48:45Z")

</div>

Follow this to learn logstash and do some examples, after that you will let to know about kibana,

[https://www.elastic.co/guide/en/logstash/current/getting-started-with-logstash.html](https://www.elastic.co/guide/en/logstash/current/getting-started-with-logstash.html)

---

<div class="post-metadata">

**Author:** ![inandi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/inandi/32/40801_2.png) [@inandi](https://discuss.elastic.co/u/inandi)\
**Post date:** [October 26, 2018, 12:53pm UTC](https://discuss.elastic.co/t/what-is-logstash-kibana-in-simple-term/154191/3 "2018-10-26T12:53:47Z")

</div>

thanks, but i am working on projects so i have already gone through those documentations. i am asking the simple terms. like with some real life example.

---

<div class="post-metadata">

**Author:** ![Jenni](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jenni/32/29684_2.png) [@Jenni](https://discuss.elastic.co/u/Jenni)\
**Post date:** [October 26, 2018, 3:38pm UTC](https://discuss.elastic.co/t/what-is-logstash-kibana-in-simple-term/154191/4 "2018-10-26T15:38:07Z")

</div>

I don't know, if this helps, but ... whatever... Let's take some really stupid example: I want to do statistics about squirrels in my neighborhood. Every squirrel has a name and we know what they look like. Each neighbor makes a log entry whenever he sees a squirrel eating a nut.

**E** lasticSearch is a document database that structures data in so called indices. It is able to save pieces (shards) of those indices redundantly on multiple servers and gives you great search functionalities. so you can access huge amounts of data very quickly.

_Here we might have finished events that look like this:_

```
{
  "_index": "squirrels-2018",
  "_id": "zr7zejfhs7fzfud",
  "_version": 1,
  "_source": {
    "squirrel": "Bethany",
    "neighbor": "A",
    "@timestamp": "2018-10-26T15:22:35.613Z",
    "meal": "hazelnut",
  }
}

```

**L** ogstash is the data collector and transformator. It's able to accept data from many different sources (files, databases, transport protocols, ...) with its input plugins. After using one of those input plugins all the data is stored in an Event object that can be manipulated with filters (add data, remove data, load additional data from other sources). When the data has the desired format, it can be distributed to many different outputs.

_If neighbor A provides a MySQL database with the columns 'squirrel', 'time' and 'ate', but neighbor B likes to write CSVs with the columns 'name', 'nut' and 'when', we can use Logstash to accept both inputs. Then we rename the fields and parse the different datetime formats those neighbors might be using. If one of them likes to call Bethany 'Beth' we can change the data here to make it consistent. Eventually we send the result to ElasticSearch (and maybe other outputs as well)._

**K** ibana is a visualization tool. It allows you to get an overview over your index structures and server status and create diagrams for your ElasticSearch data

_Here we can do funny diagrams like 'Squirrel Sightings Per Minute' or 'Fattest Squirrel (based on nut intake)'_

---

<div class="post-metadata">

**Author:** ![inandi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/inandi/32/40801_2.png) [@inandi](https://discuss.elastic.co/u/inandi)\
**Post date:** [October 27, 2018, 7:36am UTC](https://discuss.elastic.co/t/what-is-logstash-kibana-in-simple-term/154191/5 "2018-10-27T07:36:18Z")

</div>

@Jenni you are an angel. now things are crystal. this stupid/awesome example I was actually looking for and you made it so clear. thanks a ton.. 🙂 and i am sure this example will help other beginners like me.

---

<div class="post-metadata">

**Author:** ![inandi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/inandi/32/40801_2.png) [@inandi](https://discuss.elastic.co/u/inandi)\
**Post date:** [October 27, 2018, 7:49am UTC](https://discuss.elastic.co/t/what-is-logstash-kibana-in-simple-term/154191/6 "2018-10-27T07:49:53Z")

</div>

Last request : can u mention the role of **filebeat** in ur example ?

---

<div class="post-metadata">

**Author:** ![Jenni](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jenni/32/29684_2.png) [@Jenni](https://discuss.elastic.co/u/Jenni)\
**Post date:** [October 27, 2018, 11:41am UTC](https://discuss.elastic.co/t/what-is-logstash-kibana-in-simple-term/154191/7 "2018-10-27T11:41:40Z")

</div>

We'd use filebeat for neighbor B. He doesn't want to give us access to his server or send us an e-mail with his current list for this project every hour. So we use filebeat instead to get every update automatically with a minimal delay. He installs filebeat on his server and tells the software that his notes are located in "/var/log/The S-Files/\*" and should be sent to our server on port 5044 (for example). Now all filebeat does all day long is watch the files there and send us every new line it can find. Our beats input listens to that port, happily waiting for new squirrel events 🙂

---

<div class="post-metadata">

**Author:** ![inandi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/inandi/32/40801_2.png) [@inandi](https://discuss.elastic.co/u/inandi)\
**Post date:** [October 29, 2018, 8:10am UTC](https://discuss.elastic.co/t/what-is-logstash-kibana-in-simple-term/154191/8 "2018-10-29T08:10:08Z")

</div>

thanks @Jenni ..God bless

---

<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:** [November 26, 2018, 8:10am UTC](https://discuss.elastic.co/t/what-is-logstash-kibana-in-simple-term/154191/9 "2018-11-26T08:10:08Z")

</div>

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