Getting Data In

Props.conf stanza matching hosts with literal pipe in name?

muebel
SplunkTrust
SplunkTrust

I would like to build a props stanza for hosts that have a literal pipe in their name. I have tried a few different formulations of this, which are:

[host::*\|*]

[host::(*\|*)]

[host::[^|]+\|[^/]+]

(this one just mapped to all hosts)
[host::*|*]

I would expect that I could just escape the pipe in the props spec, but this isn't working. Does anybody have any insight on this?

0 Karma
1 Solution

muebel
SplunkTrust
SplunkTrust

This wasn't possible, and so I ended up switching to an alternative set of characters, namely "<" and ">"

View solution in original post

0 Karma

muebel
SplunkTrust
SplunkTrust

This wasn't possible, and so I ended up switching to an alternative set of characters, namely "<" and ">"

0 Karma
Get Updates on the Splunk Community!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

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 ...