# Unable to find Input, filter and grok pattern for logs starting with a session id

**URL:** https://discuss.elastic.co/t/unable-to-find-input-filter-and-grok-pattern-for-logs-starting-with-a-session-id/71653
**Category:** Logstash
**Created:** [January 15, 2017, 4:47pm UTC](https://discuss.elastic.co/t/unable-to-find-input-filter-and-grok-pattern-for-logs-starting-with-a-session-id/71653 "2017-01-15T16:47:05Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Anujyadav86](https://avatars.discourse-cdn.com/v4/letter/a/3ab097/32.png) [@Anujyadav86](https://discuss.elastic.co/u/Anujyadav86)
#### Post date: [January 15, 2017, 4:47pm UTC](https://discuss.elastic.co/t/unable-to-find-input-filter-and-grok-pattern-for-logs-starting-with-a-session-id/71653/1 "2017-01-15T16:47:05Z")

</div>

Hi Guys,  
after several attempt i was trying to create a grok pattern for below kind of logs, where logs start with a session id, identifying different users. Need help to create a grok pattern.  
Its a multi-line log, having different logs printed with different different session id for different users.

I tried using %{GREEDYDATA} , but not helping. Please suggest.

Below are the logs for 2 users with 2 session id.

562389e6d80ef45bda06cc7a7705 2016-11-18 11:02:01,118 http-thread-pool-9081(220) DEBUG [com.fundamo.web.controller.WebRootController] systemID for the request is MOA0001  
562389e6d80ef45bda06cc7a7705 2016-11-18 11:02:01,126 http-thread-pool-9081(220) DEBUG [com.fundamo.web.controller.WebRootController] Multiple SystemId are present for Session Override  
3dd0fed6ec8117a92a467c886b5b 2016-11-18 11:03:13,360 http-thread-pool-9081(10) INFO [com.fundamo.web.controller.FundamoSessionManager] Fundamo Session ID :3de6ead5a8f81f517cc714369255  
3de6ead5a8f81f517cc714369255 2016-11-18 11:03:28,790 http-thread-pool-9081(19) DEBUG [com.fundamo.web.controller.WebRootController] systemID for the request is CUI0001

---

<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: [January 16, 2017, 2:57am UTC](https://discuss.elastic.co/t/unable-to-find-input-filter-and-grok-pattern-for-logs-starting-with-a-session-id/71653/2 "2017-01-16T02:57:00Z")

</div>

What pattern do you have so far?

---

<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 13, 2017, 2:57am UTC](https://discuss.elastic.co/t/unable-to-find-input-filter-and-grok-pattern-for-logs-starting-with-a-session-id/71653/3 "2017-02-13T02:57:07Z")

</div>

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