Splunk Search

Host list on default search shows error message of: [SimpleResultsTable module] Input is not proper UTF-8, indicate encoding ! Bytes...

Pierceyuk
Path Finder

So my main search page in the bottom right hosts summary has the following error message listed:

[SimpleResultsTable module] Input is not proper UTF-8, indicate encoding ! Bytes: 0xD8 0xCE 0x89 0xB9, line 12, column 142

If I click on the page numbers it brings up the other pages as per normal and I can sort by host name and look around. But go back to page 1 and this error message is still there(assuming I didn't change the sort).

How can I find the undoubtedly garbled host name that is causing this without being able to see it?

0 Karma
1 Solution

Pierceyuk
Path Finder

Splunk support helped me with this issue.
Their solution:
putty into server, navigate to where the splunk data is and run
find . -name Hosts.data |xargs grep --color='auto' -P -n "[\x80-\xFF]"

this will return some of the junk host names you have e.g. in my case "host::#000#000#000#000#000#000#000#000#000#000#000#000#000#000#000#000#000#000#000#000#000#000#000#000!#000#000#000#000#000#000#000imudp#000#000#000?#013z#001#000#000#000#000 "

I could search for this in the splunk GUI (host=#000*) but the data would never show, but the interesting fields would.
Then try adding |delete to get rid of this data and if your lucky you fix your issues.
I would recommend working with support, this was a nightmare that took a few weeks to get to the bottom of.

View solution in original post

0 Karma

Pierceyuk
Path Finder

Splunk support helped me with this issue.
Their solution:
putty into server, navigate to where the splunk data is and run
find . -name Hosts.data |xargs grep --color='auto' -P -n "[\x80-\xFF]"

this will return some of the junk host names you have e.g. in my case "host::#000#000#000#000#000#000#000#000#000#000#000#000#000#000#000#000#000#000#000#000#000#000#000#000!#000#000#000#000#000#000#000imudp#000#000#000?#013z#001#000#000#000#000 "

I could search for this in the splunk GUI (host=#000*) but the data would never show, but the interesting fields would.
Then try adding |delete to get rid of this data and if your lucky you fix your issues.
I would recommend working with support, this was a nightmare that took a few weeks to get to the bottom of.

0 Karma
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.
Get Updates on the Splunk Community!

Tech Talk Recap | Mastering Threat Hunting

Mastering Threat HuntingDive into the world of threat hunting, exploring the key differences between ...

Observability for AI Applications: Troubleshooting Latency

If you’re working with proprietary company data, you’re probably going to have a locally hosted LLM or many ...

Splunk AI Assistant for SPL vs. ChatGPT: Which One is Better?

In the age of AI, every tool promises to make our lives easier. From summarizing content to writing code, ...