# What is purpose x-pack-logstash inside ElasticSearch?

**URL:** <https://discuss.elastic.co/t/what-is-purpose-x-pack-logstash-inside-elasticsearch/186426>\
**Category:** Elasticsearch\
**Created:** [June 19, 2019, 10:02am UTC](https://discuss.elastic.co/t/what-is-purpose-x-pack-logstash-inside-elasticsearch/186426 "2019-06-19T10:02:44Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![NAHA](https://avatars.discourse-cdn.com/v4/letter/n/5fc32e/32.png) [@NAHA](https://discuss.elastic.co/u/NAHA)\
**Post date:** [June 19, 2019, 10:02am UTC](https://discuss.elastic.co/t/what-is-purpose-x-pack-logstash-inside-elasticsearch/186426/1 "2019-06-19T10:02:44Z")

</div>

Hi ,

I am currently sending log data to ElasticSearch . When I installed ES, I saw that , in ElasticSearch there is modules file which contains a lot x-packs. There is one x-pack-logstash. I want to understand aim of this **x-pack-logstash.**

I am searching answer below question, unfortunately I have not find answer in ElasticSearch Documentation page

- What is purpose and usage of Logstash inside ES as module.
- Is Logstash module triggering automatically when there are incoming NLog logs to ES?
- Does NLog requires Logstash as a mandatory module?

I am using ES version 6.7.0 open source .

_p.s For example, is there way to disable x-pack-logstash? if yes , what happen then ._

Thanks in advance

---

<div class="post-metadata">

**Author:** ![spinscale](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/spinscale/32/25011_2.png) [@spinscale](https://discuss.elastic.co/u/spinscale)\
**Post date:** [June 19, 2019, 3:00pm UTC](https://discuss.elastic.co/t/what-is-purpose-x-pack-logstash-inside-elasticsearch/186426/2 "2019-06-19T15:00:13Z")

</div>

A module is just a way to load some code, it has nothing to do with logstash execution itself.

You can check out the java class over here [https://github.com/elastic/elasticsearch/blob/master/x-pack/plugin/logstash/src/main/java/org/elasticsearch/xpack/logstash/Logstash.java](https://github.com/elastic/elasticsearch/blob/master/x-pack/plugin/logstash/src/main/java/org/elasticsearch/xpack/logstash/Logstash.java)

This basically registers a class that adds the ability to check for the basic license, as some features in the Kibana UI are only available with a basic license.

---

<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:** [July 17, 2019, 3:00pm UTC](https://discuss.elastic.co/t/what-is-purpose-x-pack-logstash-inside-elasticsearch/186426/3 "2019-07-17T15:00:18Z")

</div>

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