My applications are logging request and response payloads as fields in elasticsearch. Is there a way to retrieve the size (in bytes) of a specific field returned in kibana search?
You can define a scripted field which will return the length of the payload
field.
The Painless script code would look something like this:
params._source.payload.length()
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.