# New pattern won't work cisco vpn

**URL:** <https://discuss.elastic.co/t/new-pattern-wont-work-cisco-vpn/72054>\
**Category:** Logstash\
**Created:** [January 18, 2017, 4:45pm UTC](https://discuss.elastic.co/t/new-pattern-wont-work-cisco-vpn/72054 "2017-01-18T16:45:55Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![tomi](https://avatars.discourse-cdn.com/v4/letter/t/f4b2a3/32.png) [@tomi](https://discuss.elastic.co/u/tomi)\
**Post date:** [January 18, 2017, 4:45pm UTC](https://discuss.elastic.co/t/new-pattern-wont-work-cisco-vpn/72054/1 "2017-01-18T16:45:55Z")

</div>

I have an ASA that record some vpn logs. those aren't included in the core-patterns. so I defined a simple patterns its seem to be working fine in testing envi which is running 5.1.1 logstash. but when moving the same config to prod which is running 5.0.0 I face the undesirable error.

Pipeline aborted due to error {:exception=\>#\<Grok::PatternError: pattern %{CISCOFW113008} not defined

are there any major differences with the 2 version of logstash.

a simple test

this is the pattern file  
CISCOFW113008 %{CISCO\_ACTION:action} : user = %{USER:user}

which also contain the actions required.

thanks

---

<div class="post-metadata">

**Author:** ![kopacko](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kopacko/32/10733_2.png) [@kopacko](https://discuss.elastic.co/u/kopacko)\
**Post date:** [January 18, 2017, 5:02pm UTC](https://discuss.elastic.co/t/new-pattern-wont-work-cisco-vpn/72054/2 "2017-01-18T17:02:20Z")

</div>

I moved away from defined patterns long ago.

It's allowed much more granularity when to comes to field creation and naming.

You might want to do the same.

If you have a log you can post, I can build a pattern for you.

---

<div class="post-metadata">

**Author:** ![tomi](https://avatars.discourse-cdn.com/v4/letter/t/f4b2a3/32.png) [@tomi](https://discuss.elastic.co/u/tomi)\
**Post date:** [January 18, 2017, 8:35pm UTC](https://discuss.elastic.co/t/new-pattern-wont-work-cisco-vpn/72054/3 "2017-01-18T20:35:24Z")

</div>

Thank you. I just hard coded the patterns instead of using pattern\_dir.

---

<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 15, 2017, 8:35pm UTC](https://discuss.elastic.co/t/new-pattern-wont-work-cisco-vpn/72054/4 "2017-02-15T20:35:50Z")

</div>

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