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!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...