Is it possible to use Kibana scripted fields in Timelion.
I have this scripted field
name:month script:doc['date'].getMonth() + 1
which is returning the Month only as a number.
I am wanting to use a q='month:7' and q='month>=7 && month<=10' but neither return the expected months
.es(index='*',timefield='date',q='month>=7&&month<=10',metric='sum:accrualamount').bars()
returns results that have a 10 in any field. Does not limit to only month field.
.es(index='*',timefield='date',q='month:7',metric='sum:accrualamount').bars()
returns no results
Unfortunately, Timelion does not currently support scripted fields. There is a github issue for this, but at the time of this post it is very sparse. You may want to weigh in here.
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.