Skip to content

Instantly share code, notes, and snippets.

@himynamesdave
Last active August 29, 2015 14:01
Show Gist options
  • Save himynamesdave/b8dd582c770f2a35cec3 to your computer and use it in GitHub Desktop.
Save himynamesdave/b8dd582c770f2a35cec3 to your computer and use it in GitHub Desktop.
example foursquare input for splunk REST API modular input
[rest://Foursquare Checkins himynamesdave]
auth_type = none
endpoint = https://api.foursquare.com/v2/users/self/checkins
host = FourquareAPI
http_method = GET
index_error_response_codes = 1
response_handler = FourSquareCheckinsEventHandler
response_type = json
sourcetype = FoursquareCheckin
streaming_request = 0
url_args = oauth_token=AUTH_TOKEN,v=20130101
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment