# Logstash Security and Performance

**URL:** <https://discuss.elastic.co/t/logstash-security-and-performance/69912>\
**Category:** Logstash\
**Created:** [December 23, 2016, 1:27pm UTC](https://discuss.elastic.co/t/logstash-security-and-performance/69912 "2016-12-23T13:27:54Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![JoeLi](https://avatars.discourse-cdn.com/v4/letter/j/5e9695/32.png) [@JoeLi](https://discuss.elastic.co/u/JoeLi)\
**Post date:** [December 23, 2016, 1:27pm UTC](https://discuss.elastic.co/t/logstash-security-and-performance/69912/1 "2016-12-23T13:27:54Z")

</div>

I am going to setup ELK on production. So that I have to change to ssl and basic authentication. I upgrade to 5.x, looks greate. With X-Pack, security becomes so easy! Greate job!

With x-pack, I have to set roles uses. And for logstash, I followed below link.  
[https://www.elastic.co/guide/en/x-pack/5.1/logstash.html](https://www.elastic.co/guide/en/x-pack/5.1/logstash.html)  
But I am a little concern about the performance. While logstash -\> Elasticsearch is an high frequecy transaction and I only need to ensure the security between brower and kibana. The security of communications between logstash, elasticsearch and kibana can be handled by network.

Is there a better sollution? Will it is better if I enable Enabling Anonymous Access ([https://www.elastic.co/guide/en/x-pack/current/anonymous-access.html](https://www.elastic.co/guide/en/x-pack/current/anonymous-access.html)) ?

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [December 27, 2016, 6:34am UTC](https://discuss.elastic.co/t/logstash-security-and-performance/69912/2 "2016-12-27T06:34:31Z")

</div>

Have you tested performance?

---

<div class="post-metadata">

**Author:** ![JoeLi](https://avatars.discourse-cdn.com/v4/letter/j/5e9695/32.png) [@JoeLi](https://discuss.elastic.co/u/JoeLi)\
**Post date:** [December 30, 2016, 5:32am UTC](https://discuss.elastic.co/t/logstash-security-and-performance/69912/3 "2016-12-30T05:32:04Z")

</div>

Not yet!  
Can I only enable security on kibana so that logstash can push data into elasticsearch without authentication?

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [December 30, 2016, 8:30am UTC](https://discuss.elastic.co/t/logstash-security-and-performance/69912/4 "2016-12-30T08:30:16Z")

</div>

You can setup anonymous access, yes.

---

<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 27, 2017, 8:30am UTC](https://discuss.elastic.co/t/logstash-security-and-performance/69912/5 "2017-01-27T08:30:29Z")

</div>

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