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!

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...

March Community Office Hours Security Series Uncovered!

Hello Splunk Community! In March, Splunk Community Office Hours spotlighted our fabulous Splunk Threat ...

Stay Connected: Your Guide to April Tech Talks, Office Hours, and Webinars!

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars in April. This post ...