All Apps and Add-ons

predict--为啥字段名为中文的predict显示不了,英文却可以

wuhenzhe
Engager

在win8系统下,使用splunk,字段名为中文,predict会告诉我说data point为零,但是把中文名换成英文却又可以。同时在“|predict AA as 你好”,“你好”居然是乱码。

0 Karma
1 Solution

melonman
Motivator

Hi wuhenzhe,

I tried predict command with asian characters in my mac OSX.

alt text

It worked in my environment.
It would be helpful if you could share your search screen shot.
I don't have windows machine with me now, so I can not test it 😞

--- updated

OK, now I have windows 8.1 pro, I could see what you said.

alt text

I tested chinese, Japanese and korean. All of them are garbled.
should consult Splunk support for this asian character issue.

View solution in original post

0 Karma

melonman
Motivator

Hi wuhenzhe,

I tried predict command with asian characters in my mac OSX.

alt text

It worked in my environment.
It would be helpful if you could share your search screen shot.
I don't have windows machine with me now, so I can not test it 😞

--- updated

OK, now I have windows 8.1 pro, I could see what you said.

alt text

I tested chinese, Japanese and korean. All of them are garbled.
should consult Splunk support for this asian character issue.

0 Karma

wuhenzhe
Engager

文件截图上传不上去啊

0 Karma

wuhenzhe
Engager

我说的是windows系统下是不行的,Linux系统的是OK的。

0 Karma

melonman
Motivator

Google Translation (CH to EN):

"In win8 system, using splunk, field named Chinese, predict will tell me that data point is zero, but the Chinese names into English but you can. While "| predict AA as hello", "hello" is actually garbled."

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, ...