# Creating an IP field from log file

**URL:** https://discuss.elastic.co/t/creating-an-ip-field-from-log-file/104410
**Category:** Kibana
**Created:** [October 18, 2017, 2:14pm UTC](https://discuss.elastic.co/t/creating-an-ip-field-from-log-file/104410 "2017-10-18T14:14:50Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![simbarashe\_Barry\_Mak](https://avatars.discourse-cdn.com/v4/letter/s/c5a1d2/32.png) [@simbarashe\_Barry\_Mak](https://discuss.elastic.co/u/simbarashe_Barry_Mak)
#### Post date: [October 18, 2017, 2:14pm UTC](https://discuss.elastic.co/t/creating-an-ip-field-from-log-file/104410/1 "2017-10-18T14:14:50Z")

</div>

How can I create an IP field from a log like this in kibana

Oct 18 16:01:56 Server name Sshd[207769]: Failed Password For Invalid User Music From 107.150.42.106 Port 63668 Ssh2

---

<div class="post-metadata">

### Author: ![Nathan\_Reese](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nathan_reese/32/84829_2.png) [@Nathan\_Reese](https://discuss.elastic.co/u/Nathan_Reese)
#### Post date: [October 18, 2017, 2:57pm UTC](https://discuss.elastic.co/t/creating-an-ip-field-from-log-file/104410/2 "2017-10-18T14:57:23Z")

</div>

Individual fields (like IP) will need to be parsed out of the original message before inserting documents into ElasticSearch. Kibana is a visualization tool and can not be used to modify ElasticSearch documents.

---

<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: [November 15, 2017, 2:57pm UTC](https://discuss.elastic.co/t/creating-an-ip-field-from-log-file/104410/3 "2017-11-15T14:57:47Z")

</div>

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