r/Splunk • u/redditsekar • May 28 '26
Workaround for Splunk len function issue for non-English Dataset
Dear Splunk Guys, Around 2 years ago I found a small bug in Splunk(I was awarded SplunkTrust for this I believe):
The splunk's len() function works only for English Dataset
Created this Splunk idea: https://ideas.splunk.com/ideas/EID-I-2176
Then I became busy I could not work on the solution.
The last 10 days I have resumed that work and created a technology add-on which will take care of the non-English Dataset's character counting issue. Splunk approved my technology add-on and it is available on Splunkbase, pls give it a try.
https://splunkbase.splunk.com/app/8706
| makeresults
| eval _raw="இடும்பைக்கு"
| rex max_match=0 "(?<char>.)"
| lookup ucd_category_lookup char output category
| eval length=mvcount(mvfilter(NOT match(category, "^M")))
12
Upvotes