Skip to content

Instantly share code, notes, and snippets.

@scr512
Created February 27, 2016 06:29
Show Gist options
  • Save scr512/3633d773625f899c127d to your computer and use it in GitHub Desktop.
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
{
"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