# Logstash kubernetes container crashing

**URL:** <https://discuss.elastic.co/t/logstash-kubernetes-container-crashing/58346>\
**Category:** Logstash\
**Created:** [August 18, 2016, 12:57pm UTC](https://discuss.elastic.co/t/logstash-kubernetes-container-crashing/58346 "2016-08-18T12:57:44Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Gary\_D](https://avatars.discourse-cdn.com/v4/letter/g/7c8e57/32.png) [@Gary\_D](https://discuss.elastic.co/u/Gary_D)\
**Post date:** [August 18, 2016, 12:57pm UTC](https://discuss.elastic.co/t/logstash-kubernetes-container-crashing/58346/1 "2016-08-18T12:57:44Z")

</div>

Any tips? It starts and goes into a crash loopback, very little info shown

The most I can get from a kubectl logs is:  
{:timestamp=\>"2016-08-18T12:46:14.936000+0000", :message=\>"Pipeline main started"}  
{:timestamp=\>"2016-08-18T12:46:15.041000+0000", :message=\>"Pipeline main has been shutdown"}  
{:timestamp=\>"2016-08-18T12:46:17.938000+0000", :message=\>"stopping pipeline", :id=\>"main"}

---

<div class="post-metadata">

**Author:** ![guyboertje](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/guyboertje/32/31592_2.png) [@guyboertje](https://discuss.elastic.co/u/guyboertje)\
**Post date:** [August 18, 2016, 1:59pm UTC](https://discuss.elastic.co/t/logstash-kubernetes-container-crashing/58346/2 "2016-08-18T13:59:31Z")

</div>

In a regular terminal window, nav to a/the logstash install folder.  
Run:  
`bin/logstash --help`  
note the options for  
`-- debug`  
`--log FILE`

Try both command line options. log to a file you can access.  
A **lot** of lines will be logged but in there somewhere there will be a clue.  
Post the contents here or create an attachment - be sure to scrub any sensitive proprietary data.

---

<div class="post-metadata">

**Author:** ![Gary\_D](https://avatars.discourse-cdn.com/v4/letter/g/7c8e57/32.png) [@Gary\_D](https://discuss.elastic.co/u/Gary_D)\
**Post date:** [August 18, 2016, 2:50pm UTC](https://discuss.elastic.co/t/logstash-kubernetes-container-crashing/58346/3 "2016-08-18T14:50:16Z")

</div>

Thanks Guy, log stash is installed in the container, the container crashes so I can't get exec -it to a bash on it when its crashing to get to the log stash install folder.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 6, 2017, 4:42am UTC](https://discuss.elastic.co/t/logstash-kubernetes-container-crashing/58346/4 "2017-07-06T04:42:48Z")

</div>


