# Logstash is not running

**URL:** <https://discuss.elastic.co/t/logstash-is-not-running/164878>\
**Category:** Logstash\
**Created:** [January 19, 2019, 5:55am UTC](https://discuss.elastic.co/t/logstash-is-not-running/164878 "2019-01-19T05:55:40Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![manickalai](https://avatars.discourse-cdn.com/v4/letter/m/94ad74/32.png) [@manickalai](https://discuss.elastic.co/u/manickalai)\
**Post date:** [January 19, 2019, 5:55am UTC](https://discuss.elastic.co/t/logstash-is-not-running/164878/1 "2019-01-19T05:55:40Z")

</div>

While Start the logstash getting below error

{:timestamp=\>"2019-01-19T11:22:52.600000+0530", :message=\>"Error: Expected one of #, =\> at line 19, column 11 (byte 285) after output {\n \telasticsearch {\n \t\thosts ", :level=\>:error}

config file :  
input {  
tcp {  
port =\> 5044  
codec =\> json\_lines  
}  
}

output {  
elasticsearch {  
hosts = \>["127.0.0.1:9200"]  
index=\>"cms-logback"  
}  
stdout {  
codec =\> rubydebug  
}  
}

---

<div class="post-metadata">

**Author:** ![Badger](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/badger/32/25190_2.png) [@Badger](https://discuss.elastic.co/u/Badger)\
**Post date:** [January 19, 2019, 12:48pm UTC](https://discuss.elastic.co/t/logstash-is-not-running/164878/2 "2019-01-19T12:48:43Z")

</div>

> [@manickalai](#):
>
> Error: Expected one of #, =\> at line 19, column 11 (byte 285) after output {\n \telasticsearch {\n \t\thosts "

OK, so what do we find immediately after hosts?

```
= >["127.0.0.1:9200"]

```

Change that to be

```
=> ["127.0.0.1:9200"]

```

---

<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:** [February 16, 2019, 12:48pm UTC](https://discuss.elastic.co/t/logstash-is-not-running/164878/3 "2019-02-16T12:48:51Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
