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!

Splunk Observability for AI

Don’t miss out on an exciting Tech Talk on Splunk Observability for AI!Discover how Splunk’s agentic AI ...

Splunk Enterprise Security 8.x: The Essential Upgrade for Threat Detection, ...

Watch On Demand the Tech Talk on November 6 at 11AM PT, and empower your SOC to reach new heights! Duration: ...

Splunk Observability as Code: From Zero to Dashboard

For the details on what Self-Service Observability and Observability as Code is, we have some awesome content ...