# Kibana scripted field url formatting with a string

**URL:** <https://discuss.elastic.co/t/kibana-scripted-field-url-formatting-with-a-string/24849>\
**Category:** Kibana\
**Created:** [July 3, 2015, 8:58am UTC](https://discuss.elastic.co/t/kibana-scripted-field-url-formatting-with-a-string/24849 "2015-07-03T08:58:52Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![tbragin](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tbragin/32/45166_2.png) [@tbragin](https://discuss.elastic.co/u/tbragin)\
**Post date:** [July 4, 2015, 3:35pm UTC](https://discuss.elastic.co/t/kibana-scripted-field-url-formatting-with-a-string/24849/2 "2015-07-04T15:35:23Z")

</div>

The default language for Kibana scripted fields is [Lucene expressions](http://lucene.apache.org/core/4_9_0/expressions/index.html?org/apache/lucene/expressions/js/package-summary.html), which can only work with integers at this time.

You can instead use Groovy scripts, which can operate on strings, but take care to do so in a secure manner (dynamic scripts are insecure, so you must use static scripts). More on that in this thread: [Calling groovy script from Kibana](https://discuss.elastic.co/t/calling-groovy-script-from-kibana/2542/6)

---

_[View the full topic](https://discuss.elastic.co/t/kibana-scripted-field-url-formatting-with-a-string/24849)._
