Im trying to visualize my data with Timelion for the first time and its just showing me straight line at value 0. I have chaged the timestamp value in advanced setting and tried all the tricks but nothing seems to work. My code looks like this: .es(index=jira_issues_elk*,metric=count,timefield=UPDATED_UTC).points()
The timefield value UPDATED_UTC is a date type that is a scripted field in index pattern.
Timelion doesn't know about scripted fields. To use timelion, the fields have to be present in the index. You can do this by calculating the scripts value at ingest time, for example with an ingest pipeline configured in Elasticsearch and the script processor.
I was trying to figure this out but couldnt get it yet. I have data coming from Kafka to elasticsearch. Is it somehow possible to use ingest pipeline to add this timestamp before it reaches the index?
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.