Closed nlowe closed 8 years ago
Pointing at the wrong es? Is it possible that your vsphere indices are using a different timefield? If you change timelion.json
you may need to rm -rf optimize/bundles
in your Kibana directory. Given that _all
is only returning logstash-*
docs there is almost certainly a deeper problem in your elasticsearch setup. I'm not able to replicate this behavior.
Ah, I think it was the timestamp field. I thought that was handled in the index mapping, but it must be a kibana thing. Changing the timestamp field in the .es()
query now pulls results. Thanks!
Cool, glad you sorted it out. I try to keep my timefield the same in all of my indices, if possible.
Timelion appears to only be querying against
logstash-*
indices. In my system, I have a few different indices for different applications. For example, I'm exporting vSphere Performance metrics to an index that has the following pattern:vsphere-yyy-MM-dd
. I've tried changing theindex
parameter (.es(index="vsphere*")
) and thedefault_index
option in.../kibana/installedPlugins/timelion/timelion.js
and both return zero documents, however I can verify that I do have documents in these indices as I can view them in Kibana'sDiscover
tab.Furthermore, it appears that the
default_index: _all
setting is only returning documents from the logstash indices:Is there a config setting I missed, or something I have to do to my indices to get timelion to recognize them?