Last active
March 4, 2016 14:36
-
-
Save tomyam1/096f68b30f23e8b06943 to your computer and use it in GitHub Desktop.
Revisions
-
tomyam1 revised this gist
Mar 4, 2016 . 1 changed file with 2 additions and 1 deletion.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 @@ -1,4 +1,5 @@ // Prints the s3 buckets defiend as log sources in a tab delimited format you can paste in excel // https://app.logz.io/#/dashboard/data-sources/ var settings = []; $('.s3-settings-section').each(function() { -
tomyam1 created this gist
Mar 4, 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,10 @@ // Prints the var settings = []; $('.s3-settings-section').each(function() { var sectionEl = $(this); var bucket = sectionEl.find('[ng-model="settings.bucket"]').val(); var prefix = sectionEl.find('[ng-model="settings.prefix"]').val(); settings.push(bucket + '\t' + prefix); }); console.log(settings.join('\n'));