Splunk Search

Why is search query returning values of binary data and how to return the actual data instead?

randymw59
Explorer

I have a query that returns a few values of binary data instead of the actual data. How can I return the actual data instead of the blob reference?

Tags (2)

dturnbull_splun
Splunk Employee
Splunk Employee

If you have binary data in your input file, but you want to see or search on decoded data you have some choices:

  • Use a modular input to decode the data on the way in to Splunk
  • Use a custom Python command to decode the data at search time

Both options require development, and depending on your usage it might be better to choose one or the other:

  • The modular input is likely better if you primarily want to search for values in the decoded data
  • The python input is simpler to implement and if it's just decoding some events at search time the extra processing on search is probably worth it

The Python SDK contains examples of both

0 Karma

Ayn
Legend

Way more details please - sample events, how you've setup log ingestion for these events, what search you're using, what you mean by blob reference, etc etc. We don't know your setup or your situation so you have to tell us if we're to stand a chance of helping you!

0 Karma

randymw59
Explorer

This is just a simple query against Active Directory. When pulling information from AD for a list of IDs, a few descriptions are coming back as binary-blob instead of the actual description within AD.

0 Karma

MuS
Legend
0 Karma

randymw59
Explorer

No, it literally has binary-blob (surrounded by < and >, but I can't enter that here) in the description column instead of an actual description.

0 Karma

Tanefo
Path Finder

please give, more details

0 Karma
Get Updates on the Splunk Community!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...