Knowledge Management

How come sha256(_raw). Does not give result

dtakacssplunk
Explorer

I am trying to calculate hash on splunk log line.

How come sha256(_raw). Does not give result

Other fields sha256 works

Tags (1)
0 Karma

Sukisen1981
Champion

what do you mean?
index="_audit" | eval x=sha256(_raw)
gives output pretty well, its sha256 and not shaW256...

dflodstrom
Builder

^ Convert that comment to an answer. You're looking for sha256()

0 Karma

Sukisen1981
Champion

its just a typo with shaW : )
Not gonna take credit for that....
Any chance you been reading too many plays by Bernard Shaw 🙂 ?

Get Updates on the Splunk Community!

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...

Welcome to the Splunk Community!

(view in My Videos) We're so glad you're here! The Splunk Community is place to connect, learn, give back, and ...