- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

santorof
Communicator
02-22-2017
05:23 AM
I have Active Directory logs that do not have many fields associated with them. Each log is over 100 lines and I wish to extract a lockoutTime field that is further down in the bottom of each log. When going to extract the field I cannot do the automatic method because it only shows me the first 15 to 20 lines. Is there a way to show the entire raw log to do an automatic scroll over extraction? If not how would I format the regular expression where my line is lockoutTime=0 and I want to extract lockoutTime to see all of the results for that field across my logs?
1 Solution
- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

richgalloway

SplunkTrust
02-22-2017
06:50 AM
Write your own regex to extract the field. Start with this
lockoutTime=(?<lockoutTime>\d+)
---
If this reply helps you, Karma would be appreciated.
If this reply helps you, Karma would be appreciated.
- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

richgalloway

SplunkTrust
02-22-2017
06:50 AM
Write your own regex to extract the field. Start with this
lockoutTime=(?<lockoutTime>\d+)
---
If this reply helps you, Karma would be appreciated.
If this reply helps you, Karma would be appreciated.
- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

santorof
Communicator
02-22-2017
07:23 AM
This works perfectly thank you.
