如何在Timelion中指定索引和日期/时间字段?

How to specify index and date / time field in Timelion?

我正在尝试在 Kibana 中使用 Timelion 应用程序,但我找不到在何处指定索引名称和时间字段。有没有办法即时执行此操作,还是必须在某处的配置文件中完成?如果有,那个文件在哪里?

.es(index=your_index_name, timefield=@timestamp, metric=count, q=whatever_field:some_matching_text)

es() 函数下你有 indextimefield.