I am using Kibana to show project KPI state. I know that I could achieve my goal in Linechart which is to draw a line chart of PV line for next 4 month.
Since timelion has more flexibility with the chart , I want to use timelion instead but it seems that future date is not displaying .
My query is below,
$ser=.es(index='project-hours-dashboard-*', q='Name:渡辺 AND ReportWeek:["2017-03-01" TO *]', metric='sum:TotalAcutualHours', timefield='ReportWeek' ) ($ser).label(渡辺稼働) .static(40).label(標準稼働時間)
I have two timestamp fields @timestamp and ReportWeek . I want to use @timestamp field when querying and Report Week for x-axis of line chart. ReportWeek includes dates up to end of July.
Is it possible to display future dates on the chart?
I tried to do something similar and was able to get it to work (if I correctly understand your goal). Make sure you set your time range in the upper right corner to an absolute time in the future.
The chart itself is the one I want to see but the timefilter is not correct.
I should have clarified this part more. Sorry about not giving you enough information.
Below is the snippet of _source of arbitrary record from the index I am using.
I have two timestamp fields ,
@timestamp is the indexed time which logstash automatically gernates. ReportWeek is the weeks within the project. This goes all the way up to end of June.
My final goal is to integrate the chart from timelion into dashboard so that I can visualize with other vis components. Below is the line chart I have implemented with linechart vis component. You can see that timefilter filters the events by @timestamp. And linechart uses the ReportWeek for the x-axis using datetime histogram.
Ah, I understand now. You can have a timelion chart on a dashboard where the x-axis date field is different than the default date field for the time picker in the upper right, but the interval will always be the same. I don't believe there is any way to accomplish this today, where you can set the time field in a timelion chart, and the time interval for it to display.
You can see here I have two different charts using two different fields for the x axis, but because the interval is still dictate by the upper right time picker, they won't show results at the same time.
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.