# Logging with EFK

**URL:** <https://forums.suse.com/t/logging-with-efk/14613>\
**Category:** SUSE Rancher Prime\
**Created:** [June 23, 2019, 11:51am UTC](https://forums.suse.com/t/logging-with-efk/14613 "2019-06-23T11:51:45Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![anebi](https://avatars.discourse-cdn.com/v4/letter/a/22d042/32.png) [@anebi](https://forums.suse.com/u/anebi)\
**Post date:** [June 23, 2019, 11:51am UTC](https://forums.suse.com/t/logging-with-efk/14613/1 "2019-06-23T11:51:45Z")

</div>

Hello,

I installed EFK on rancher cluster and I want to use this same installation for Rancher logging too.

When I go to Tools -\> Logging in order to enable rancher logging I am able to select Elasticsearch or Fluentd.

When I select Elasticsearch or fluentd, I see that it requires IP addresses to the services.

I am curious how to use this existing EFK that i installed on the cluster itself?

Thanks and regards,  
Ali Nebi

---

<div class="post-metadata">

**Author:** ![shubbard343](https://avatars.discourse-cdn.com/v4/letter/s/47e85d/32.png) [@shubbard343](https://forums.suse.com/u/shubbard343)\
**Post date:** [June 25, 2019, 8:52pm UTC](https://forums.suse.com/t/logging-with-efk/14613/2 "2019-06-25T20:52:04Z")

</div>

Does it allow you to use a hostname? You can create a Kubernetes service that points to your in-cluster EFK instance, and then use that service hostname in the Logging config.

---

<div class="post-metadata">

**Author:** ![anebi](https://avatars.discourse-cdn.com/v4/letter/a/22d042/32.png) [@anebi](https://forums.suse.com/u/anebi)\
**Post date:** [June 25, 2019, 10:02pm UTC](https://forums.suse.com/t/logging-with-efk/14613/3 "2019-06-25T22:02:35Z")

</div>

Hi,

Placeholder is given as [https://ipaddress:9200](https://ipaddress:9200) but i guess that it will be working also with hostname. I need to test that.

Thanks 🙂
