Skip to content

Instantly share code, notes, and snippets.

@itay
Created September 13, 2012 02:56
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 itay/3711547 to your computer and use it in GitHub Desktop.
Save itay/3711547 to your computer and use it in GitHub Desktop.
twitter states
location.displayName="*" location.country_code="United States" | rename location.displayName as place | rex field=place "(?<city>[^,]*), (?<state>.*)" | where state!="US" AND len(state)=2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment