How to check size on an index by field


(ssh) #1

hi everyone!

is there anyway to check the size in bytes on an index by field?

let me say my scenario first.

pull down from cloudwatch log > extract some logs @ lostash > shipping specific log events only to ES
and create some fields (api_code : app1, app2, app3)

in kibana dev console, i can check daily indices size by using GET _cat/indices?v
but i would like to check size in bytes by field (eg: size of api_code app1, size of api_code app2)

is that possible?

thank you someone point out to me.


(Mark Walkom) #2

That is not possible sorry.


(Val Crettaz) #3

That info is not readily available from any API that I know of.
However, using the Term Vectors API, you might be able to infer some size using a combination of the size of the term and the term frequency, but you need to create some client side logic to compute all that.


(ssh) #4

i see. thank you.


(system) #5

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