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
SplunkTrust
SplunkTrust
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!

What's new in Splunk Cloud Platform 9.1.2312?

Hi Splunky people! We are excited to share the newest updates in Splunk Cloud Platform 9.1.2312! Analysts can ...

What’s New in Splunk Security Essentials 3.8.0?

Splunk Security Essentials (SSE) is an app that can amplify the power of your existing Splunk Cloud Platform, ...

Let’s Get You Certified – Vegas-Style at .conf24

Are you ready to level up your Splunk game? Then, let’s get you certified live at .conf24 – our annual user ...