Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I'd like to use the Logstash Juju charm and was wondering how the log files are persisted. In other words, if I lose a Logstash instance will I still have access to past logs?

share|improve this question
add comment

1 Answer

Currently, there isn't much safe guard if you're just using the logstash-indexer charm with no datastore. However, if you add the elasticsearch charm to your logstash-indexer instance, then the data will instead be stored there. So if the indexer does go away, the data is still kept in elasticsearch and should still be reachable by Kabana or other means. However, if elasticsearch went away you'd be in the same situation as before, where the data wouldn't be available anymore.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.