# How to create a meta field with source IP Address

**URL:** <https://discuss.elastic.co/t/how-to-create-a-meta-field-with-source-ip-address/31466>\
**Category:** Elasticsearch\
**Created:** [October 1, 2015, 10:09am UTC](https://discuss.elastic.co/t/how-to-create-a-meta-field-with-source-ip-address/31466 "2015-10-01T10:09:55Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![SureshSala](https://avatars.discourse-cdn.com/v4/letter/s/ce7236/32.png) [@SureshSala](https://discuss.elastic.co/u/SureshSala)\
**Post date:** [October 1, 2015, 10:09am UTC](https://discuss.elastic.co/t/how-to-create-a-meta-field-with-source-ip-address/31466/1 "2015-10-01T10:09:55Z")

</div>

I have 6 servers which are sending the logs to elasticsearch, I would like to know which log is sent by a server based on the server IP.

---

<div class="post-metadata">

**Author:** ![magnusbaeck](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/magnusbaeck/32/44943_2.png) [@magnusbaeck](https://discuss.elastic.co/u/magnusbaeck)\
**Post date:** [October 1, 2015, 7:14pm UTC](https://discuss.elastic.co/t/how-to-create-a-meta-field-with-source-ip-address/31466/2 "2015-10-01T19:14:46Z")

</div>

Are you using Logstash to submit the logs to Elasticsearch?

---

<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 5, 2017, 11:47pm UTC](https://discuss.elastic.co/t/how-to-create-a-meta-field-with-source-ip-address/31466/3 "2017-07-05T23:47:10Z")

</div>


