Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@johan
Last active September 15, 2023 18:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save johan/f203bc1b83500ad6f1506d5a8363e0aa to your computer and use it in GitHub Desktop.
Save johan/f203bc1b83500ad6f1506d5a8363e0aa to your computer and use it in GitHub Desktop.
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

@johan
Copy link
Author

johan commented Sep 15, 2023 via email

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