Guest User

Splunk: Drupal Access Dashboard Definition

a guest
Apr 9th, 2013
289
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?xml version='1.0' encoding='utf-8'?>
  2. <dashboard>
  3.   <label>Drupal Access Statistics (Last Hour)</label>
  4.   <row>
  5.     <chart>
  6.       <searchString>drupal-access | timechart count by src</searchString>
  7.       <title>Hits by Host</title>
  8.       <earliestTime>-60m@m</earliestTime>
  9.       <latestTime>now</latestTime>
  10.       <option name="charting.axisTitleX.text">Time</option>
  11.       <option name="charting.chart">area</option>
  12.       <option name="charting.chart.stackMode">stacked</option>
  13.       <option name="charting.primaryAxisTitle.text"/>
  14.     </chart>
  15.     <chart>
  16.       <searchString>drupal-access | timechart eval(min(peak_memory)/(1024*1024)) as "Min Memory", eval(avg(peak_memory)/(1024*1024)) as "Avg Memory", eval(max(peak_memory)/(1024*1024)) as "Max Memory"</searchString>
  17.       <title>Memory Usage</title>
  18.       <earliestTime>-60m@m</earliestTime>
  19.       <latestTime>now</latestTime>
  20.       <option name="charting.axisLabelsY.majorUnit"/>
  21.       <option name="charting.axisTitleX.text">Time</option>
  22.       <option name="charting.axisTitleY.text">Memory (MB)</option>
  23.       <option name="charting.chart">line</option>
  24.       <option name="charting.chart.nullValueMode">zero</option>
  25.       <option name="charting.primaryAxisTitle.text"/>
  26.       <option name="charting.secondaryAxisTitle.text"/>
  27.     </chart>
  28.     <chart>
  29.       <searchString>drupal-access | timechart count by cache_status</searchString>
  30.       <title>Page Cache Rate</title>
  31.       <earliestTime>-60m@m</earliestTime>
  32.       <latestTime>now</latestTime>
  33.       <option name="charting.axisTitleX.text">Time</option>
  34.       <option name="charting.axisTitleY.text">%</option>
  35.       <option name="charting.chart">area</option>
  36.       <option name="charting.chart.nullValueMode">zero</option>
  37.       <option name="charting.chart.stackMode">stacked100</option>
  38.       <option name="charting.primaryAxisTitle.text"/>
  39.       <option name="charting.secondaryAxisTitle.text"/>
  40.     </chart>
  41.   </row>
  42.   <row>
  43.     <chart>
  44.       <searchString>drupal-access | chart count as Hits by path | sort 10 -Hits</searchString>
  45.       <title>Top Pages</title>
  46.       <earliestTime>-60m@m</earliestTime>
  47.       <latestTime>now</latestTime>
  48.       <option name="charting.chart">bar</option>
  49.     </chart>
  50.     <chart>
  51.       <searchString>drupal-access referrer!="*yourwebsite.com*" | chart count AS Hits by referer | sort 10 -Hits</searchString>
  52.       <title>Top Referers</title>
  53.       <earliestTime>-60m@m</earliestTime>
  54.       <latestTime>now</latestTime>
  55.       <option name="charting.chart">bar</option>
  56.     </chart>
  57.   </row>
  58.   <row>
  59.     <chart>
  60.       <searchString>drupal-access | eval memory=peak_memory/(1024*1024) | chart avg(timer) over memory</searchString>
  61.       <title>Response over Memory</title>
  62.       <earliestTime>-h@m</earliestTime>
  63.       <latestTime>now</latestTime>
  64.       <option name="charting.axisTitleX.text">Memory (MB)</option>
  65.       <option name="charting.axisTitleY.text">Timer (ms)</option>
  66.       <option name="charting.axisY.scale">log</option>
  67.       <option name="charting.chart">scatter</option>
  68.       <option name="charting.primaryAxisTitle.text"/>
  69.       <option name="charting.secondaryAxis.scale">log</option>
  70.       <option name="charting.secondaryAxisTitle.text"/>
  71.       <option name="count">10</option>
  72.       <option name="displayRowNumbers">true</option>
  73.     </chart>
  74.     <chart>
  75.       <searchString>drupal-access | eval userStatus=(if(uid=0, "Anonymous", "Authenticated")) | chart count by userStatus</searchString>
  76.       <title>Authentication Status</title>
  77.       <earliestTime>-h@m</earliestTime>
  78.       <latestTime>now</latestTime>
  79.       <option name="charting.chart">pie</option>
  80.       <option name="count">10</option>
  81.       <option name="displayRowNumbers">true</option>
  82.     </chart>
  83.     <table>
  84.       <searchString>drupal-access | chart count AS Hits, eval(sum(timer)/1000) as SumTime by hostname | sort 10 -Hits</searchString>
  85.       <title>Top Visitors By IP</title>
  86.       <earliestTime>-60m@m</earliestTime>
  87.       <latestTime>now</latestTime>
  88.     </table>
  89.   </row>
  90. </dashboard>
RAW Paste Data

Adblocker detected! Please consider disabling it...

We've detected AdBlock Plus or some other adblocking software preventing Pastebin.com from fully loading.

We don't have any obnoxious sound, or popup ads, we actively block these annoying types of ads!

Please add Pastebin.com to your ad blocker whitelist or disable your adblocking software.

×