Getting Data In

Is it ok to use ellipsis wildcard more than once?

Junie
Observer

Is it ok to use ellipsis wildcards (...) more than once to recurses through directories in props.conf's spec stanza?

My path to log: /data/2019/12/22/Site/Engineering/Planning/ip-10-123-45-678/user.log

The spec stanza: [source::/data/.../Planning/.../user.log]
Is this valid?

0 Karma
1 Solution

kamlesh_vaghela
SplunkTrust
SplunkTrust

@Junie

I can see the multiple use of ellipsis in the example of stanza pattern collisions: section. Here, below example took for the explanation of stanza pattern collisions so the answer is YES. But if you have multiple stanzas having multiple ellipsis pattern then you should consider pattern collision also.

Example :

[source::...a...]
sourcetype = a

[source::...z...]
sourcetype = z

You can find same example in below link also.

https://docs.splunk.com/Documentation/Splunk/latest/Admin/propsconf#GLOBAL_SETTINGS

View solution in original post

0 Karma

kamlesh_vaghela
SplunkTrust
SplunkTrust

@Junie

I can see the multiple use of ellipsis in the example of stanza pattern collisions: section. Here, below example took for the explanation of stanza pattern collisions so the answer is YES. But if you have multiple stanzas having multiple ellipsis pattern then you should consider pattern collision also.

Example :

[source::...a...]
sourcetype = a

[source::...z...]
sourcetype = z

You can find same example in below link also.

https://docs.splunk.com/Documentation/Splunk/latest/Admin/propsconf#GLOBAL_SETTINGS

0 Karma

Junie
Observer

Thank you very much!

0 Karma
Get Updates on the Splunk Community!

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...

What's new in Splunk Cloud Platform 9.1.2312?

Hi Splunky people! We are excited to share the newest updates in Splunk Cloud Platform 9.1.2312! Analysts can ...

What’s New in Splunk Security Essentials 3.8.0?

Splunk Security Essentials (SSE) is an app that can amplify the power of your existing Splunk Cloud Platform, ...