Created
February 27, 2016 06:29
-
-
Save scr512/3633d773625f899c127d to your computer and use it in GitHub Desktop.
Cyclotron (https://github.com/ExpediaInceCommercePlatform/cyclotron) Data Source example grabbing SyncIQ policy reporting
This file contains 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
{ | |
"name": "Your Isilon Cluster SyncIQ Report", | |
"options": { | |
"auth": { | |
"pass": "yourrootpasswordhere", | |
"user": "root" | |
}, | |
"strictSSL": false | |
}, | |
"postProcessor": "pp = function (data) {\n\n var new_data = _.map(data.reports, function(row) {\n \n return {\n name: row.policy.name,\n state: row.state,\n start_time: row.start_time,\n end_time: row.end_time,\n duration: row.duration,\n };\n });\n\n return _.compact(new_data);\n}", | |
"refresh": 300, | |
"sortBy": [], | |
"type": "json", | |
"url": "https://your-isilon-cluster:8080/platform/1/sync/reports?reports_per_policy=1" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment