Created
June 24, 2016 20:40
-
-
Save mchenetz/660d36961121574e583e30e3f877ef77 to your computer and use it in GitHub Desktop.
Revisions
-
mchenetz created this gist
Jun 24, 2016 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,25 @@ input { http_poller { urls => { "meraki_traffic" => { method => get url => "https://dashboard.meraki.com/api/v0/networks/ENTER NETWORK ID/traffic?timespan=7200" headers => { Accept => "application/json" "x-cisco-meraki-api-key" => "ENTER API KEY" } } } request_timeout => 60 interval => 60 codec => "json" } } output { stdout { codec => rubydebug } elasticsearch { } }