Getting Data In

problem with parsing indexes.conf when creating a new indexer?

eey16
Engager

hey, im new to splunk , im doing practice for arch lab, i was creating a index in indexes.conf , once i saved and restarted splunk, i got the following :

Problem parsing indexes.conf: idx=_audit Configured path 'volume:primary/audit/db' refers to non-existent volume 'primary'; 1 volumes in config
Validating databases (splunkd validatedb) failed with code '1'. If you cannot resolve the issue(s) above after consulting documentation, please file a case online at http://www.splunk.com/page/submit_issue

this indexes.conf on the indexer, (splunk_home$ etc/apps/BaseConf/local/indexes.conf)

0 Karma
1 Solution

adonio
Ultra Champion

Hello @eey16,
it looks like you did not specified the volume "primary"
check indexes.conf.spec in /etc/system/README or the docs here:
https://docs.splunk.com/Documentation/Splunk/6.6.0/Admin/Indexesconf
i am not providing the exact code here since you mentioned you are preparing for the exam

good luck!

View solution in original post

adonio
Ultra Champion

Hello @eey16,
it looks like you did not specified the volume "primary"
check indexes.conf.spec in /etc/system/README or the docs here:
https://docs.splunk.com/Documentation/Splunk/6.6.0/Admin/Indexesconf
i am not providing the exact code here since you mentioned you are preparing for the exam

good luck!

eey16
Engager

right, i just switched the data base to SPLUNK_DB$

0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

[Puzzles] Solve, Learn, Repeat: Character substitutions with Regular Expressions

This challenge was first posted on Slack #puzzles channelFor BORE at .conf23, we had a puzzle question which ...

Splunk Community Badges!

  Hey everyone! Ready to earn some serious bragging rights in the community? Along with our existing badges ...

[Puzzles] Solve, Learn, Repeat: Matching cron expressions

This puzzle (first published here) is based on matching timestamps to cron expressions.All the timestamps ...