Splunk SOAR (f.k.a. Phantom)

Phantom : Why are we getting the error "unable to forward this search result: unhashable type: 'dict'" ?

sdubey_splunk
Splunk Employee
Splunk Employee

We are trying to forward the events to phantom via datamodel export function. when we click on save and preview , we are getting the option button "Send to Phantom". But when clicked we are getting an error "Unable to forward this search result: unhashable type: 'dict'"".

Labels (1)
Tags (1)
0 Karma
1 Solution

sdubey_splunk
Splunk Employee
Splunk Employee

splunk : 7.2.0
Phantom app Version : 2.5.4
Phantom product : Phantom 4.1.94

Fix : Dumping the browser cache generally clears this issue up.

View solution in original post

murphybeck
New Member

You're trying to use a dict as a key to another dict or in a set. That does not work because the keys have to be hashable. As a general rule, only immutable objects (strings, integers, floats, frozensets, tuples of immutables) are hashable (though exceptions are possible). So this does not work: The only types of values not acceptable as keys are values containing lists or dictionaries or other mutable types that are compared by value rather than by object identity, the reason being that the efficient implementation of dictionaries requires a key’s hash value to remain constant.

0 Karma

sdubey_splunk
Splunk Employee
Splunk Employee

splunk : 7.2.0
Phantom app Version : 2.5.4
Phantom product : Phantom 4.1.94

Fix : Dumping the browser cache generally clears this issue up.

Get Updates on the Splunk Community!

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!

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

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...