# Rename Value to Friendly readable name

**URL:** <https://discuss.elastic.co/t/rename-value-to-friendly-readable-name/72361>\
**Category:** Logstash\
**Created:** [January 21, 2017, 10:14am UTC](https://discuss.elastic.co/t/rename-value-to-friendly-readable-name/72361 "2017-01-21T10:14:55Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![horwedja](https://avatars.discourse-cdn.com/v4/letter/h/2bfe46/32.png) [@horwedja](https://discuss.elastic.co/u/horwedja)\
**Post date:** [January 21, 2017, 10:14am UTC](https://discuss.elastic.co/t/rename-value-to-friendly-readable-name/72361/1 "2017-01-21T10:14:55Z")

</div>

Hi, I am new to Logstash. i ship multiple firewall logs to logstash and we identify each firewall by SN. The SN is not easily identified and want to give each SN a friendly name. I have tried to use mutate rename{} but this has not been successful.  
Below is a typical Log:  
{  
"\_index": "logstash-2017.01.21",  
"\_type": "SW",  
"\_id": "AVnAd3OvfFR\_D-jAnZ\_S",  
"\_score": null,  
"\_source": {  
"@version": "1",  
"@timestamp": "2017-01-21T09:59:55.343Z",  
"type": "SW",  
"tags": [  
"\_grokparsefailure\_sysloginput"  
],  
"priority": 0,  
"severity": 0,  
"facility": 0,  
"facility\_label": "kernel",  
"severity\_label": "Emergency",  
"\<134\>id": "firewall",  
"sn": "0117C545F20D",  
"time": "2017-01-21 11:59:56",  
"f": "General HTTP",  
"sess": "None",  
"src": "4.3.2.1:37338:X0",  
"dst": "5.6.7.8:80:X1",  
"op": "2",  
"sent": "1362",  
"rcvd": "204",  
"dstname": "[hmma.baidu.com](http://hmma.baidu.com)",  
"arg": "/app.gif",  
"code": "64",  
"Category": "Not Rated",  
"srcip": "4.3.2.1",  
"srcinfo": "37338",  
"dstip": "5.6.7.8",  
"dstinfo": "80"  
},

I need to change 0117C545F20D to "Customer1FW"

Thanks,

---

<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:** [January 22, 2017, 3:20am UTC](https://discuss.elastic.co/t/rename-value-to-friendly-readable-name/72361/2 "2017-01-22T03:20:08Z")

</div>

Have a look at the translate filter instead.

---

<div class="post-metadata">

**Author:** ![horwedja](https://avatars.discourse-cdn.com/v4/letter/h/2bfe46/32.png) [@horwedja](https://discuss.elastic.co/u/horwedja)\
**Post date:** [January 22, 2017, 8:57am UTC](https://discuss.elastic.co/t/rename-value-to-friendly-readable-name/72361/3 "2017-01-22T08:57:54Z")

</div>

Thank you very much, you sent me in the right direction.

---

<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:** [February 19, 2017, 8:58am UTC](https://discuss.elastic.co/t/rename-value-to-friendly-readable-name/72361/4 "2017-02-19T08:58:59Z")

</div>

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