I would like to know if it's possible to grok message with logstash without using an external patterns file and directly write my pattern in my config:

For example, now it's works like this :

```
input { 
     stdin{     
    }   
}
filter {
    grok {
        patterns_dir => "./patterns"
        match => ["message","%{PATTERNFILE:test}"]
    }
}

output {
    stdout {codec => rubydebug}

}

```

I have a file in a patterns folder with the following content :

```
PATTERNFILE .*

```

But I would like to directly write my pattern in the filter like this :

```
filter {
    grok {
        patterns_dir => "./patterns"
        match => ["message","%{.*:test}"]
    }
}

```

But it's not working.