Splunk stores data in ___, which are organised in directories and files in disk.
indexes
What are the features of a Splunk index?
What is inside a Splunk index?
Indexes store data in ___. __ are a set of directories organised by age.
Buckets
What are the bucket types?
Bucket types are hot, warm, cold. froze, thawed
Hot buckets
Warm buckets
Cold buckets
Frozen buckets
Thawed buckets
Where is the bucket location of hot/warm buckets?
$SPLUNK_HOME/var/lib/Splunk/indexname/db
Where is the bucket location of cold buckets?
$SPLUNK_HOME/var/lib/Splunk/indexname/colddb
Where is the bucket location of frozen buckets?
• Frozen buckets are deleted by default. Can be optionally archived
Where is the bucket location of thawed buckets?
$SPLUNK_HOME/var/lib/Splunk/indexname/thaweddb
How are hot buckets named?
hot_v1_
How are warm buckets named?
• Warm – db_newesttime_oldesttime_localid
o Local id is the ID of the bucket
o Newest and oldest time are in UTC epoch time in seconds
Why create multiple indexes?
* Retention policies are applied at index level
What is index data integrity?
___.conf is used to configure Splunk indexes and their properties
indexes
Where is the default indexes.conf saved?
default indexes.conf in $SPLUNK_HOME/etc/system/default, but do not edit this. Create a new indexes.conf in $SPLUNK_HOME/etc/system/local
What is the structure of indexes.conf?
What is the fishbucket?
How can you use the fishbucket to reindex files?
• reindex a particular file (btprob command)
o ./Splunk cmd btprob -d $SPLUNK_HOME/var/lib/Splunk/fishbucket/splunk_private_db –file –reset
• Reindex all monitored files (remove entire fishbucket directory)
o Rm -rf /opt/Splunk/var/lib/Splunk/fishbucket
o You must restart Splunk forwarder
What is data retention?