cloudfoundry-community / logsearch-for-cloudfoundry

A Logsearch addon that customises Logsearch to work with Cloud Foundry data
Apache License 2.0
49 stars 58 forks source link

upload-kibana-objects does not work with Kibana v6 #318

Closed vetin4ri closed 5 years ago

vetin4ri commented 5 years ago

Hi,

I have seen the know issues note in releases tab, but is there any bug report tracking the issue?

Additionally, is there any more specific information about what has to be changed? I have seen the info: https://www.elastic.co/guide/en/elasticsearch/reference/6.7/removal-of-types.html, but I don't really see why it affects all imported objects as documents seem to be added to the without an error to ".kibana" index and there is only one type ("doc") in the json?

Infra-Red commented 5 years ago

Hi @vetin4ri ! Current implementation of upload-kibana-object errand tries to post all documents to .kibana index. Kibana v6 introduces Saved Objects API which should be used for such operations. Also documents format was changed a bit. I will try to work on errand issue this week, but I don't have exact timelines when this issue will be fixed.

vetin4ri commented 5 years ago

Thanks, let me know if you need any help with that!