# Adding Interest plus penalty in Kibana 4

**URL:** <https://discuss.elastic.co/t/adding-interest-plus-penalty-in-kibana-4/63837>\
**Category:** Kibana\
**Created:** [October 25, 2016, 7:11am UTC](https://discuss.elastic.co/t/adding-interest-plus-penalty-in-kibana-4/63837 "2016-10-25T07:11:42Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Antonio](https://avatars.discourse-cdn.com/v4/letter/a/6de8d8/32.png) [@Antonio](https://discuss.elastic.co/u/Antonio)\
**Post date:** [October 25, 2016, 7:11am UTC](https://discuss.elastic.co/t/adding-interest-plus-penalty-in-kibana-4/63837/1 "2016-10-25T07:11:42Z")

</div>

Hi

I need to add another field in Kibana. How can we add Interest plus penalty? In SQL it would be very simple to add a parameter by just puting + sign.

I know we can add a new scripted fields inside kibana by doing this:

Go to Settings \> Indices  
Select the index pattern you want to add a scripted field to.  
Go to the pattern’s Scripted Fields tab.  
Click Add Scripted Field.  
Enter a name for the scripted field.  
Enter the expression that you want to use to compute a value on the fly from your index data.  
Click Save Scripted Field.

---

<div class="post-metadata">

**Author:** ![spalger](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/spalger/32/14092_2.png) [@spalger](https://discuss.elastic.co/u/spalger)\
**Post date:** [October 25, 2016, 4:28pm UTC](https://discuss.elastic.co/t/adding-interest-plus-penalty-in-kibana-4/63837/2 "2016-10-25T16:28:22Z")

</div>

If you don't want to index documents with the value then scripted fields are how you do this 🙂

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 6, 2017, 1:35pm UTC](https://discuss.elastic.co/t/adding-interest-plus-penalty-in-kibana-4/63837/3 "2017-07-06T13:35:44Z")

</div>


