# Just starting - Advanced Pipeline tutorial issue

**URL:** <https://discuss.elastic.co/t/just-starting-advanced-pipeline-tutorial-issue/50152>\
**Category:** Logstash\
**Created:** [May 16, 2016, 7:57pm UTC](https://discuss.elastic.co/t/just-starting-advanced-pipeline-tutorial-issue/50152 "2016-05-16T19:57:09Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jamen\_McGranahan](https://avatars.discourse-cdn.com/v4/letter/j/87869e/32.png) [@Jamen\_McGranahan](https://discuss.elastic.co/u/Jamen_McGranahan)\
**Post date:** [May 16, 2016, 7:57pm UTC](https://discuss.elastic.co/t/just-starting-advanced-pipeline-tutorial-issue/50152/1 "2016-05-16T19:57:09Z")

</div>

I am using Redhat 5 with an installation of Logstash 2.3.1 (since it appears 2.3.2 does not have the plugins and I could not figure out how to get those installed) and I am trying to work through the Advanced Pipeline tutorial found here: [https://www.elastic.co/guide/en/logstash/current/advanced-pipeline.html](https://www.elastic.co/guide/en/logstash/current/advanced-pipeline.html)

But when I run the configtest, I get the following:

The given configuration is invalid. Reason: Expected one of #, =\> at line 12, column 8 (byte 330) after #The # character at the beginning of a line indicates a comment. Use

# comments to describe your configuration.

input {  
file {  
path =\> "/var/log/logstash-tutorial.log"  
start\_position =\> beginning  
ignore\_older =\> 0  
}

# The filter part of this file is commented out to indicate that it is

# optional.

filter {  
grok {:level=\>:fatal}

I'm just using the same configuration as what is on the tutorial and the same apache log file provided to test with. How do I go about correcting this? Not sure where to go to fix it. Please advise. Thank you.

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [May 17, 2016, 6:10am UTC](https://discuss.elastic.co/t/just-starting-advanced-pipeline-tutorial-issue/50152/2 "2016-05-17T06:10:26Z")

</div>

Can you provide the entire config as in the file, make sure you format with the `</>` button so it is easy to read.

---

<div class="post-metadata">

**Author:** ![Jamen\_McGranahan](https://avatars.discourse-cdn.com/v4/letter/j/87869e/32.png) [@Jamen\_McGranahan](https://discuss.elastic.co/u/Jamen_McGranahan)\
**Post date:** [May 17, 2016, 1:31pm UTC](https://discuss.elastic.co/t/just-starting-advanced-pipeline-tutorial-issue/50152/3 "2016-05-17T13:31:47Z")

</div>

Here it is.

```
#The # character at the beginning of a line indicates a comment. Use
# comments to describe your configuration.
input {
  file {
    path => "logstash-tutorial.log"
    start_position => beginning
    ignore_older => 0
}
filter {
    grok {
        match => { "message" => "%{COMBINEDAPACHELOG}"}
    }
}
output {
  stdout { }
}
```

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [May 17, 2016, 1:54pm UTC](https://discuss.elastic.co/t/just-starting-advanced-pipeline-tutorial-issue/50152/4 "2016-05-17T13:54:26Z")

</div>

It needs to be;

```auto
input {
  file {
    path => "logstash-tutorial.log"
    start_position => beginning
    ignore_older => 0
  }
}
filter {
    grok {
        match => { "message" => "%{COMBINEDAPACHELOG}"}
    }
}
output {
  stdout { }
}

```

You were missing another `}`.

---

<div class="post-metadata">

**Author:** ![Jamen\_McGranahan](https://avatars.discourse-cdn.com/v4/letter/j/87869e/32.png) [@Jamen\_McGranahan](https://discuss.elastic.co/u/Jamen_McGranahan)\
**Post date:** [May 17, 2016, 7:37pm UTC](https://discuss.elastic.co/t/just-starting-advanced-pipeline-tutorial-issue/50152/5 "2016-05-17T19:37:00Z")

</div>

Thank you - that was it (at least for that part). Now if I can only get the rest of the tutorial to work like it supposed to....

---

<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:57am UTC](https://discuss.elastic.co/t/just-starting-advanced-pipeline-tutorial-issue/50152/6 "2017-07-06T04:57:21Z")

</div>


