Splunk Search

Configuration stanza precedence vs Configuration file location precedence?

ankithreddy777
Contributor

For props.conf which has highest precedence.

In documentation, they said
[source::] settings override both [host::] and [] settings

1) if props.conf is in ..etc/system/local

[sourcetype1]
TIME_FORMAT=.....

...

2) And props.conf in etc/apps/app1/local/
[source::....]
TIME_FORMAT=.....

...

we know system/local has higher priority than app1/local.... But has high priority over

Could you please let me know which TIME_FORMAT setting will be applied,.
from system/local? OR App1/local?

Conf. file location precedence is higher OR stanza type precedence is higher?

0 Karma

adonio
Ultra Champion

system/local takes precedence
however, you are looking at different stanzas, iirc sourcetype akes precedence over host and source
read here all the way:
http://docs.splunk.com/Documentation/Splunk/7.1.2/Admin/Wheretofindtheconfigurationfiles

0 Karma

ankithreddy777
Contributor

Hi Adonia,

I am looking at different stanzas at different locations.

we know system/local has higher priority than app1/local.... But source has high priority over sourcetype.

Does source settings will be applied even though place at low precedence location.

0 Karma
Get Updates on the Splunk Community!

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...

Introducing Splunk Enterprise 9.2

WATCH HERE! Watch this Tech Talk to learn about the latest features and enhancements shipped in the new Splunk ...

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...