# Logstash Pipeline aborted due to error

**URL:** <https://discuss.elastic.co/t/logstash-pipeline-aborted-due-to-error/63177>\
**Category:** Logstash\
**Created:** [October 17, 2016, 10:06am UTC](https://discuss.elastic.co/t/logstash-pipeline-aborted-due-to-error/63177 "2016-10-17T10:06:29Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![bopa](https://avatars.discourse-cdn.com/v4/letter/b/a6a055/32.png) [@bopa](https://discuss.elastic.co/u/bopa)\
**Post date:** [October 17, 2016, 10:06am UTC](https://discuss.elastic.co/t/logstash-pipeline-aborted-due-to-error/63177/1 "2016-10-17T10:06:29Z")

</div>

following is my logstash config file . configtest shows OK but I'm getting "Pipeline aborted due to error" in logstash logs.

logstash config

input {  
tcp {  
port =\> 5000  
type =\> 'eventlog'  
codec =\> json {  
charset =\> 'UTF-8'  
}  
}  
}

filter {  
if [type == 'eventlog'] {  
grok {  
match =\> ['TimeCreated', "Date(%{NUMBER:timestamp})"]  
}  
date {  
match =\> ['timestamp', 'UNIX\_MS']  
}  
}  
}  
output {  
if [type == 'eventlog'] {  
elasticsearch {  
hosts =\> ["localhost"]  
port =\> 9300  
node\_name =\> 'wintest'  
index =\> "logstash-evenlog-%{+YYYY.MM.dd}"  
}  
}  
}

Please help

---

<div class="post-metadata">

**Author:** ![magnusbaeck](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/magnusbaeck/32/44943_2.png) [@magnusbaeck](https://discuss.elastic.co/u/magnusbaeck)\
**Post date:** [October 19, 2016, 6:09am UTC](https://discuss.elastic.co/t/logstash-pipeline-aborted-due-to-error/63177/2 "2016-10-19T06:09:28Z")

</div>

> following is my logstash config file . configtest shows OK but I'm getting "Pipeline aborted due to error" in logstash logs.

I'm pretty sure that's not the only error message you're getting.

> hosts =\> ["localhost"]  
> port =\> 9300  
> node\_name =\> 'wintest'

The `port` and `node_name` options are not valid in Logstash 2.0 and later.

---

<div class="post-metadata">

**Author:** ![bopa](https://avatars.discourse-cdn.com/v4/letter/b/a6a055/32.png) [@bopa](https://discuss.elastic.co/u/bopa)\
**Post date:** [October 19, 2016, 6:40am UTC](https://discuss.elastic.co/t/logstash-pipeline-aborted-due-to-error/63177/3 "2016-10-19T06:40:28Z")

</div>

Ah I get it.  
Thanks for your help

---

<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:33am UTC](https://discuss.elastic.co/t/logstash-pipeline-aborted-due-to-error/63177/4 "2017-07-06T04:33:37Z")

</div>


