QuestionQ52

VerifiedSplunk Configuration Files

Which host and index values does Splunk use for [stanza1] at index time, given the following configuration files?

Question Image

Explanation

At index time, inputs.conf uses global configuration precedence. system/local overrides app-local settings for the same attribute, so the host is server1. Since that file does not define an index, Splunk uses the highest-precedence app-local index setting; lexicographical app precedence makes search override unix, yielding index=searchinfo.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!