Scripted fields in kibana

HI,

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 !!!!!!!!!"}

Thanks.

Do you mean you want to extract that field?

yes.

like this i want,with the name trace

image

You need to do that before index time, doing it afterwards is super difficult and expensive.

can you please help me how to do it before indexing.

How are you sending the data to Elasticsearch?

Iam using filebeat and logstash.

Then it might be worth making a topic in #logstash with your config and a sample doc :slight_smile:

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