# How do I grok this Cisco VPN log?

**URL:** <https://discuss.elastic.co/t/how-do-i-grok-this-cisco-vpn-log/224120>\
**Category:** Logstash\
**Created:** [March 18, 2020, 1:26pm UTC](https://discuss.elastic.co/t/how-do-i-grok-this-cisco-vpn-log/224120 "2020-03-18T13:26:59Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![francescouk](https://avatars.discourse-cdn.com/v4/letter/f/7feea3/32.png) [@francescouk](https://discuss.elastic.co/u/francescouk)\
**Post date:** [March 18, 2020, 1:26pm UTC](https://discuss.elastic.co/t/how-do-i-grok-this-cisco-vpn-log/224120/1 "2020-03-18T13:26:59Z")

</div>

For some reason I´m doing something wrong with this grok but I cannot find the problem:

```auto
<164>Mar 18 2020 08:12:55: %ASA-4-722051: Group <GroupPolicy_Resource_Remote> User <test> IP <XXX.XX.XXX.XXX> IPv4 Address <XXX.XXX.XXX.XXX> IPv6 address <::> assigned to session

    %{DATA:Group}\s<%{DATA:Policy}> User\s<%{DATA:[event_data][TargetUserName]}> IP\s<%{IPV4:src_ip}> IPv4 Address <%{IPV4:assigned_ip}%{GREEDYDATA:extra_field}

```

Also, cannot find the right grok for this message:

```auto
<167>Mar 17 2020 19:34:42: %ASA-7-746012: user-identity: Add IP-User mapping XXX.XXX.XXX.XX - LOCAL\test Succeeded - VPN user

```

Can someone point me to the right direction?

Many thanks.

---

<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:** [April 15, 2020, 1:27pm UTC](https://discuss.elastic.co/t/how-do-i-grok-this-cisco-vpn-log/224120/2 "2020-04-15T13:27:04Z")

</div>

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