Skip to content

Instantly share code, notes, and snippets.

@johan
Last active October 27, 2021 19:47
Embed
What would you like to do?
splunk country code unicode emoji flags
… | eval flag = printf("%c%c", 127452 + tonumber(substr(countrycode,1,1), 36), 127452 + tonumber(substr(countrycode,2,1), 36)),
         country=countrycode+" ("+percent+"%) "+flag

country code pie chart in splunk

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment