# What security layer logstash uses

**URL:** <https://discuss.elastic.co/t/what-security-layer-logstash-uses/214021>\
**Category:** Logstash\
**Created:** [January 7, 2020, 10:00am UTC](https://discuss.elastic.co/t/what-security-layer-logstash-uses/214021 "2020-01-07T10:00:53Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Gauti](https://avatars.discourse-cdn.com/v4/letter/g/cdc98d/32.png) [@Gauti](https://discuss.elastic.co/u/Gauti)\
**Post date:** [January 7, 2020, 10:00am UTC](https://discuss.elastic.co/t/what-security-layer-logstash-uses/214021/1 "2020-01-07T10:00:53Z")

</div>

HI All,

We are using logstash to transfer data from our source to elasticsearch, just wondering when data is transferred is there any kind of encryption happens to send the data securely?

Thanks  
Gauti

---

<div class="post-metadata">

**Author:** ![Badger](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/badger/32/25190_2.png) [@Badger](https://discuss.elastic.co/u/Badger)\
**Post date:** [January 7, 2020, 4:06pm UTC](https://discuss.elastic.co/t/what-security-layer-logstash-uses/214021/2 "2020-01-07T16:06:01Z")

</div>

If you use https URLs for elasticsearch then the data is encrypted in transit.

---

<div class="post-metadata">

**Author:** ![Gauti](https://avatars.discourse-cdn.com/v4/letter/g/cdc98d/32.png) [@Gauti](https://discuss.elastic.co/u/Gauti)\
**Post date:** [January 9, 2020, 9:51am UTC](https://discuss.elastic.co/t/what-security-layer-logstash-uses/214021/3 "2020-01-09T09:51:53Z")

</div>

So basically logstash will not do any level of encryption, am i right? In case i'm using http..

Thanks  
Gauti

---

<div class="post-metadata">

**Author:** ![Badger](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/badger/32/25190_2.png) [@Badger](https://discuss.elastic.co/u/Badger)\
**Post date:** [January 9, 2020, 3:19pm UTC](https://discuss.elastic.co/t/what-security-layer-logstash-uses/214021/4 "2020-01-09T15:19:34Z")

</div>

Correct. logstash does not encrypt, it relies on your chosen transport layer to do that.

---

<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:** [February 6, 2020, 3:19pm UTC](https://discuss.elastic.co/t/what-security-layer-logstash-uses/214021/5 "2020-02-06T15:19:43Z")

</div>

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