I'm using Kibana's "Metric" visualization to get a count of all my docs (literally the simplest thing).
But I want to multiple that value by 100 so the value the visualization displays is the count * 100.
I tried to use the json field but this does nothing (makes no change to the number the visualization shows):
===================
Edit: I have a better understanding of my problem. I created a new pie chart visualization and added this json input and it successfully alerted the values for a specific field:
{ "script" : "doc['myfield'].value * 1.2" }
But what I'm doing is different because I'm not altering the value of fields but the actual count of the docs. Is there like a environment variable I can use in the json input box that represents the count of docs or like the count of all events for the metric?
This is obviously outside the scope of my original question but can I upgrade in place? Like yum update from the ES repo? I currently have it pinned at 5.3. for the kibana package. Are upgrades like this supported/not a bad idea?
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.