Splunk Enterprise Security

Extracting SHA256 field

emkaxon
New Member

Hello,

I am trying to extract fields using Splunk field extractor and I reached a point where I got the following error " The extraction failed. If you are extracting multiple fields, try removing one or more fields. Start with extractions that are embedded within longer text strings."

The most common solution found on this forum is to write my own regular expression manually.

This is a sample log from which I need to extract the field "process_sha256":

process_sha256":"fa03997f62beaf057023e5627881ecd4829e3c8383fd44b33f5e30a47ba25e31","processblock_count":0,"regmod_count":3,"segment_id":"1568367814899","start":"2019-09-13T09:41:19.404Z"

Does anyone have an idea what could be the proper regular expression to insert in the field extractor?

Thank you

0 Karma
1 Solution

richgalloway
SplunkTrust
SplunkTrust

Try process_sha256":"(?<sha256>[^"]+).

---
If this reply helps you, Karma would be appreciated.

View solution in original post

0 Karma

richgalloway
SplunkTrust
SplunkTrust

Try process_sha256":"(?<sha256>[^"]+).

---
If this reply helps you, Karma would be appreciated.
0 Karma

emkaxon
New Member

Thank you for the help!

0 Karma

richgalloway
SplunkTrust
SplunkTrust

@emkaxon If your problem is resolved, please accept the answer to help future readers.

---
If this reply helps you, Karma would be appreciated.
0 Karma
Get Updates on the Splunk Community!

Stay Connected: Your Guide to May Tech Talks, Office Hours, and Webinars!

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars this month. This ...

They're back! Join the SplunkTrust and MVP at .conf24

With our highly anticipated annual conference, .conf, comes the fez-wearers you can trust! The SplunkTrust, as ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had two releases of new security content via the Enterprise ...