Scripted field to calculate

Hello community!!

please how can i write a Scripted fields that calculed in follow operation. thanks for your advice

Lifetime = ProcStartTimeRelativeMs + ";" + ProcLifetimeMs + ";" + TotalBootDurationMs + ";" + ProcName + ";" + SessionID

You'll want to use a Painless script something like this:

doc['ProcStartTimeRelativeMs'].value + ";" + doc['ProcLifetimeMs'].value + ";" + doc['TotalBootDurationMs'].value + ";" + doc['ProcName'].value + ";" + doc['SessionID'].value

thank you for answer.
i wrote it like this

But i get this error , when i use the field name in kibana. please do you have any idea about the error.
image

image

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