This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

updated config sample

  • Loading branch information...
1 parent ab3d0ea commit fb126fdee4bbf0518ccbd0afe76678904da9d19a @jgallen23 committed Jun 16, 2011
Showing with 77 additions and 3 deletions.
  1. +77 −3 config.sample.js
View
@@ -1,9 +1,83 @@
-modules.exports = {
- loggly: {
- subdomain: '',
+module.exports = {
+ '{subdomain name}': {
auth: {
username: '',
password: ''
+ },
+ widgets: {
+ traffic: {
+ title: 'Page Views Today',
+ type: 'facet',
+ facet: 'date',
+ query: 'status=200',
+ ui: {
+ type: 'bar',
+ dateFormat: 'HH:mm',
+ autoRefresh: true
+ },
+ context: {
+ from: 'NOW-5HOURS',
+ gap: '+10MINUTES'
+ }
+ },
+ redirects: {
+ title: 'Redirects',
+ type: 'facet',
+ facet: 'date',
+ query: 'status=301',
+ ui: {
+ type: 'bar',
+ dateFormat: 'HH:mm',
+ autoRefresh: true
+ },
+ context: {
+ from: 'NOW-5HOURS',
+ gap: '+10MINUTES'
+ }
+ },
+ notFound: {
+ title: 'Not Found',
+ type: 'facet',
+ facet: 'date',
+ query: 'status=404',
+ ui: {
+ type: 'bar',
+ dateFormat: 'HH:mm',
+ autoRefresh: true
+ },
+ context: {
+ from: 'NOW-5HOURS',
+ gap: '+10MINUTES'
+ }
+ },
+ recentPages: {
+ title: 'Recent Pages',
+ type: 'search',
+ query: 'request',
+ regex: 'url=(.*?),',
+ ui: {
+ type: 'list',
+ dateFormat: 'MM/dd h:mm tt',
+ autoRefresh: true
+ },
+ context: {
+ from: 'NOW-1DAY'
+ }
+ },
+ topReferrals: {
+ title: 'Referrals',
+ type: 'search',
+ query: 'ref=http',
+ regex: 'ref=(.*?)(,|$)',
+ ui: {
+ type: 'list',
+ dateFormat: 'MM/dd h:mm tt',
+ autoRefresh: true
+ },
+ context: {
+ from: 'NOW-1DAY'
+ }
+ }
}
}
};

0 comments on commit fb126fd

Please sign in to comment.