Created
June 24, 2016 20:40
-
-
Save mchenetz/660d36961121574e583e30e3f877ef77 to your computer and use it in GitHub Desktop.
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 characters
| 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 { | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment