# Logstash\_scripted fields

**URL:** <https://discuss.elastic.co/t/logstash-scripted-fields/141083>\
**Category:** Logstash\
**Created:** [July 23, 2018, 6:21am UTC](https://discuss.elastic.co/t/logstash-scripted-fields/141083 "2018-07-23T06:21:40Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![dinesh1](https://avatars.discourse-cdn.com/v4/letter/d/7bcc69/32.png) [@dinesh1](https://discuss.elastic.co/u/dinesh1)\
**Post date:** [July 23, 2018, 6:21am UTC](https://discuss.elastic.co/t/logstash-scripted-fields/141083/1 "2018-07-23T06:21:40Z")

</div>

HI,

Iam using filebeat----\>logstash---\>elasticsearch---kibana

how to create scripted field for my logs in kibana. I need to create field for trace.  
MY log example is shown below.

{“@timestamp”:29T03:45:00.000+00:00","severity":"INFO","service":"trackservice","trace":"f83d0eaddee54359","span":"eaddee54359","parent":"","exportable":"false","pid":"1","thread":"pool-4-thread-1","class":"c.m.r.p.trackerService.Tracker","rest":"Now Tracker Service started !!!!!!!!!"}

like this i want,with the name trace  
 ![image](https://us1.discourse-cdn.com/elastic/original/3X/a/b/ab57ae2dd416cac97d97cbd5be2578ee15484fd9.png)

Thanks.

---

<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:** [August 20, 2018, 6:21am UTC](https://discuss.elastic.co/t/logstash-scripted-fields/141083/2 "2018-08-20T06:21:41Z")

</div>

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