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
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Community Content Calendar, September edition

Welcome to another insightful post from our Community Content Calendar! We're thrilled to continue bringing ...

Splunkbase Unveils New App Listing Management Public Preview

Splunkbase Unveils New App Listing Management Public PreviewWe're thrilled to announce the public preview of ...

Leveraging Automated Threat Analysis Across the Splunk Ecosystem

Are you leveraging automation to its fullest potential in your threat detection strategy?Our upcoming Security ...