# Edit a personal metric by kibana

**URL:** <https://discuss.elastic.co/t/edit-a-personal-metric-by-kibana/94865>\
**Category:** Kibana\
**Created:** [July 27, 2017, 8:31pm UTC](https://discuss.elastic.co/t/edit-a-personal-metric-by-kibana/94865 "2017-07-27T20:31:13Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![rashmi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rashmi/32/16391_2.png) [@rashmi](https://discuss.elastic.co/u/rashmi)\
**Post date:** [July 27, 2017, 9:02pm UTC](https://discuss.elastic.co/t/edit-a-personal-metric-by-kibana/94865/2 "2017-07-27T21:02:40Z")

</div>

You could achieve this by using the Advanced Json input for Kibana charts. Here, I could link you to a more detailed discussion on advanced Json input. It will query Elasticsearch for the data, and then the formula is performed in the script based on the values from elasticsearch. Feel free to come back with more questions if you have.

Thanks  
Rashmi

> [@JSON Input for Kibana charts](https://discuss.elastic.co/t/json-input-for-kibana-charts/290/9):
>
> Is it right that these JSON input parameters cannot do any real searches in elasticsearch then? We are trying to secure a user's Kibana instance so they can only present data from the indexes we decide. We already used rewrite rules to block the Settings section but we want to make sure the JSON Input parameters cannot be used maliciously.

---

_[View the full topic](https://discuss.elastic.co/t/edit-a-personal-metric-by-kibana/94865)._
