# Error occurred! {:error=\>#\<NoMethodError: undefined method \`\<' for nil:NilClass\>

**URL:** <https://discuss.elastic.co/t/error-occurred-error-nomethoderror-undefined-method-for-nil-nilclass/111609>\
**Category:** Logstash\
**Created:** [December 13, 2017, 4:52pm UTC](https://discuss.elastic.co/t/error-occurred-error-nomethoderror-undefined-method-for-nil-nilclass/111609 "2017-12-13T16:52:25Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Roberto\_Javier\_Yudic](https://avatars.discourse-cdn.com/v4/letter/r/97f17d/32.png) [@Roberto\_Javier\_Yudic](https://discuss.elastic.co/u/Roberto_Javier_Yudic)\
**Post date:** [December 13, 2017, 4:52pm UTC](https://discuss.elastic.co/t/error-occurred-error-nomethoderror-undefined-method-for-nil-nilclass/111609/1 "2017-12-13T16:52:25Z")

</div>

I'm getting this error using lostash 6.0.1 docker image.

The pipeline configuration I'm using is:

```
input {
  #udp {
  # port => 5000
  # codec => json
  #}
 tcp {
    port => 5000
    codec => json
  }
}

filter {
  grok {
    match => { "message" => "%{TIMESTAMP_ISO8601:time}\|%{LOGLEVEL:loglevel}\|%{DATA:logger}\|(?<message>(?m:.*))" }
  }
  multiline {
    pattern => "%{TIMESTAMP_ISO8601}"
    negate => true
    what => previous
  }

}

output {
  elasticsearch {
    hosts => [""]
    ssl => true
  }

}
```

---

<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:** [December 13, 2017, 8:12pm UTC](https://discuss.elastic.co/t/error-occurred-error-nomethoderror-undefined-method-for-nil-nilclass/111609/2 "2017-12-13T20:12:05Z")

</div>

Please show the full error message.

---

<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:** [January 10, 2018, 8:12pm UTC](https://discuss.elastic.co/t/error-occurred-error-nomethoderror-undefined-method-for-nil-nilclass/111609/3 "2018-01-10T20:12:20Z")

</div>

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