pwnlandia / mhn-splunk

Modern Honey Network App for Splunk
GNU Lesser General Public License v2.1
50 stars 15 forks source link

Large Splunk Deployment Modifications: Use an index macro #5

Open w3ttr3y opened 7 years ago

w3ttr3y commented 7 years ago

I would like to request a modification to use an index macro

Using an index macro is a standard, best practice for Splunk applications. Currently, when a dashboards loads you are searching every index that is searched by default.

That can have two issues:

  1. It searches entirely too much data in large deployments -- we bring in over 2TB/day of data besides mhn and your searches are searching all of it even though mhn data will be limited to one index
  2. It can miss the data. If the data the mhn data is coming into is not listed in the users indexes to search by default, the dashboards will not populate even if the user has access to the data

While you can't make everything automagically work out of the box for all deployments, by using an index macro, a Splunk administrator has one thing he/she needs to edit in order to make the dashboards work / apply a potentially large optimization