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
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.
Get Updates on the Splunk Community!

.conf25 Global Broadcast: Don’t Miss a Moment

Hello Splunkers, .conf25 is only a click away.  Not able to make it to .conf25 in person? No worries, you can ...

Observe and Secure All Apps with Splunk

 Join Us for Our Next Tech Talk: Observe and Secure All Apps with SplunkAs organizations continue to innovate ...

What's New in Splunk Observability - August 2025

What's New We are excited to announce the latest enhancements to Splunk Observability Cloud as well as what is ...