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 as Code: From Zero to Dashboard

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

[Puzzles] Solve, Learn, Repeat: Character substitutions with Regular Expressions

This challenge was first posted on Slack #puzzles channelFor BORE at .conf23, we had a puzzle question which ...

Shape the Future of Splunk: Join the Product Research Lab!

Join the Splunk Product Research Lab and connect with us in the Slack channel #product-research-lab to get ...