Dont forget to index your config files!
| Topics: | dev, tech |
|---|---|
| Tags: | |
| Share: |
Dont forget to index your config files!
Why?
Because splunk is a great way to track changes and see differences in your configs.
For most troubleshooting and compliance situations having a historical recored of all your configurations just goes hand in hand with the log data. They are two sides of the same coin.
The cool thing is that it takes just a few seconds to get up and running. If you have splunk installed its all but free to index your configs - they are small in size compared to log files. Even if you indexed all configs in a 2000 machine deployment it would not come close to the volume of even a small size proxy log.
30 second refresher:
Just tail /etc you will capture most of the interesting configs on your box.
from the cli:
> splunk add tail /etc
or in UI just add a tail to /etc
Thats it. That is all you need to do.
** note ** you should grab 3.1 ( http://download.splunk.com ) as there were some bugs in 3.0’s config processing.
