# How to include Clinet IP /Hostname in Slowlog via some modification in log4j2.properties

**URL:** <https://discuss.elastic.co/t/how-to-include-clinet-ip-hostname-in-slowlog-via-some-modification-in-log4j2-properties/223905>\
**Category:** Logstash\
**Created:** [March 17, 2020, 10:45am UTC](https://discuss.elastic.co/t/how-to-include-clinet-ip-hostname-in-slowlog-via-some-modification-in-log4j2-properties/223905 "2020-03-17T10:45:45Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Vinod\_Thorwat](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/vinod_thorwat/32/64576_2.png) [@Vinod\_Thorwat](https://discuss.elastic.co/u/Vinod_Thorwat)\
**Post date:** [March 17, 2020, 10:45am UTC](https://discuss.elastic.co/t/how-to-include-clinet-ip-hostname-in-slowlog-via-some-modification-in-log4j2-properties/223905/1 "2020-03-17T10:45:45Z")

</div>

```auto
**Elasticsearch version** 
Version: 6.6.2

**Plugins installed** : []
opendistro_alerting
opendistro_performance_analyzer
opendistro_security
opendistro_sql
repository-hdfs

**JVM version**  
1.8.0_221
**OS version** 
CentOS Linux release 7.2.1511 (Core)

```

---

<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:** [April 14, 2020, 10:45am UTC](https://discuss.elastic.co/t/how-to-include-clinet-ip-hostname-in-slowlog-via-some-modification-in-log4j2-properties/223905/2 "2020-04-14T10:45:49Z")

</div>

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