Store Field in Kibana

13 views
Skip to first unread message

Abdul Qudoos

unread,
Jul 20, 2016, 3:27:43 AM7/20/16
to Fluentd Google Group
Hi,
  I am using Kibana with Elastic search. I have different indicators which I have to calculate and then show them in charts. I am facing problem in indicators which themselves depend on other indicators, e.g
I have an indicator name 'test' which is in %age. It will be calculated after calculation of two other indicators i-e "test1" and "test2"
in simple words
test=(test1/test2)*100

test1
='elasticsearch field1' + 'elasticsearch field2'

and as for test2

test2 ='elasticsearch field3' + 'elasticsearch field4'


//sum metrics will   be  use



 


Kibana calculates test1 and test2  and also show them in charts, but I don't need to show these indicators to show in charts, I want to show in chart test indicator, When I do this, Kibana returns error that test1 and test2 does not exist,
So it is problem of store field , that It is not storing values in these variables.

Here is code for above explanation

x =doc['field1'].value + doc['field2'].value

y
=
doc['field3'].value + doc['field4'].value



z
=x/y


Now When I use 'z' , it gives error

Mr. Fiber

unread,
Jul 20, 2016, 3:35:43 AM7/20/16
to Fluentd Google Group
If you have a question about Elasticsearch or Kibana itself,
Elastic forum is better.

This is fluentd mailing list so we can't answer for these products.


Masahiro

--
You received this message because you are subscribed to the Google Groups "Fluentd Google Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fluentd+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages