Alerting

Splunk Windows TA for different language

Alan_Chan
Explorer

I have both Chinese and English field names from the Windows event log, and I would like to use field aliases so that the English field names can search for both the Chinese and English fields. However, I found that some fields, such as src and src_port, are missing for the Chinese field. This issue might be related to the fact that field aliases take effect only after EXTRACT, REPORT, or LOOKUP. Does anyone have suggestions on how to effectively convert between Chinese and English field names?
(The only thing I can do is on the SH; I am not allowed to change the other instance.)

Alan_Chan_0-1740390475906.png

 

Tags (1)
0 Karma

kiran_panchavat
SplunkTrust
SplunkTrust

@Alan_Chan 

If field aliases are not sufficient or if the fields are not being extracted properly, you can create Calculated Fields on the SH.

Navigate to Settings > Fields > Calculated Fields.
Use a simple eval expression to create a new field that maps to both the English and Chinese field names:

eval src=coalesce(src, "來源網路位址")
eval src_port=coalesce(src_port, "來源連接埠")

https://docs.splunk.com/Documentation/Splunk/9.4.0/Knowledge/CreatecalculatedfieldswithSplunkWeb 

https://docs.splunk.com/Documentation/Splunk/9.4.0/Knowledge/definecalcfields 

Did this help? If yes, please consider giving kudos, marking it as the solution, or commenting for clarification — your feedback keeps the community going!
0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Deep insights, no barriers: Splunk Observability Cloud Free Edition

As software delivery cycles continue to accelerate, observability shouldn’t be a luxury — it should be a ...

Monitoring AI Agents with Splunk Observability Cloud

Let’s say I’m running a travel planning AI app in production. A user asks for three concise hotel options in ...

[Puzzles] Solve, Learn, Repeat: Tiling

This puzzle (first published here) is based on finding groups of tessellated tiles (inspired by floor tiles I ...