How to create a custom field in data-table

i want to have a custom column in data-table visualization that counts a field with special value in that row, forexample count of postbacks that are 1, how can i do this?

It sounds like you want a scripted metric aggregation which unfortunately isn't in kibana yet - https://github.com/elastic/kibana/issues/2646. If you can calculate this off other fields in your document (i.e. assuming you don't need to crunch this off the total bucket) you can create a scripted field and perform a metric aggregation on it.

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