Splunk Search

UTF-8 searching not working in Splunk 8.0

MCG_RasmusToelh
Engager

Hi after upgrading to Splunk 8.0 our searches with UTF-8 characters failed to work.

Why can't we search on data with UTF-8 in it when using (| search "*Test UTFø*") ?

Why does it work when searching on field name username or _raw. (username="*Test UTFø*") ?

Fails:
(index="test" source="desktop.*") app_key="*" name="*" "*Test UTFø*"
(index="test" source="desktop.*") app_key="*" name="*" | search "*Test UTFø*"

Works if you search on field name or _raw data:
(index="test" source="desktop.*") app_key="*" name="*" username="*Test UTFø*"
(index="test" source="desktop.*") app_key="*" name="*" _raw="*Test UTFø*"

props.conf file for source type:
[json_test_sourcetype]
KV_MODE = json
SHOULD_LINEMERGE = true
TZ = UTC
MAX_TIMESTAMP_LOOKAHEAD = 100
disabled = false

data example:
{"timestamp_utc": "2019-11-12T08:35:01", "app_key": "5b040a68d053080b70309991", "node_key": "5b192965d053082f4c708e9b", "country": "DK", "location": "DK", "ui": "outlook.exe", "ui_path": "C:\Program Files (x86)\Microsoft Office\root\Office16\", "ui_version": "16.0.12130.20272", "name": "New Mail", "time": 5.06, "failed": 0, "key": "5cbf0b96d0530842ea18ead6", "session_id": "6", "session_guid": "", "id": "705c43b7-eaf4-4505-xxxx-e681f8d04b18", "username": "Test UTFøTest", "ip": "", "local_ip": "", "client_ip": "", "identifier": "", "title": "", "sla": 1, "sla1": 5, "sla2": 20, "use_sla": 1}

Tags (2)
Get Updates on the Splunk Community!

Combine Multiline Logs into a Single Event with SOCK - a Guide for Advanced Users

This article is the continuation of the “Combine multiline logs into a single event with SOCK - a step-by-step ...

Everything Community at .conf24!

You may have seen mention of the .conf Community Zone 'round these parts and found yourself wondering what ...

Index This | I’m short for "configuration file.” What am I?

May 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with a Special ...