Getting Data In

How to use config to get rid of multipath error?

m_zandinia
Path Finder

Hi Splunkers!

I have a problem with props.conf and tranforms.conf

I face with this error in Linux Servers.

 

multipathd[212317]: sdb: failed to get sgio uid: No such file or directory
multipathd[212317]: sdb: add missing path

 

So I set props.conf and transforms.conf to get rid of this messages.

It seems correct and I can't figure out why this doesn't work?!

 

props.conf
[syslog]
TRANSFORMS-null = setnull

 

 

transorms.conf
[setnull]
REGEX = multipathd
DEST_KEY = queue
FORMAT = nullQueue

 

I also tried these REGEXs

 

REGEX = .*multipathd.*
REGEX = (.+multipathd.+)

 

But nothing happened

So where did I make a mistake?

appreciate for your time

Labels (2)
Tags (2)
0 Karma
1 Solution

gcusello
SplunkTrust
SplunkTrust

Hi @m_zandinia,

let me understand: do you want to discard events where is present the word "multipathd" or what else?

if this is what you want the props and transfroms you used are correct.

If you want something else, please describe your need.

In addition, where do you located these props and transforms?

They must be on Indexers or (when present) on Heavy Forwarders, not on Universal Forwarders.

Ciao.

Giuseppe

View solution in original post

gcusello
SplunkTrust
SplunkTrust

Hi @m_zandinia,

let me understand: do you want to discard events where is present the word "multipathd" or what else?

if this is what you want the props and transfroms you used are correct.

If you want something else, please describe your need.

In addition, where do you located these props and transforms?

They must be on Indexers or (when present) on Heavy Forwarders, not on Universal Forwarders.

Ciao.

Giuseppe

m_zandinia
Path Finder

Thanks @gcusello

Is works perfectly when I set it on indexers.  I set those settings on UF and because of that it didn't work.

0 Karma
Get Updates on the Splunk Community!

Aligning Observability Costs with Business Value: Practical Strategies

 Join us for an engaging Tech Talk on Aligning Observability Costs with Business Value: Practical ...

Mastering Data Pipelines: Unlocking Value with Splunk

 In today's AI-driven world, organizations must balance the challenges of managing the explosion of data with ...

Splunk Up Your Game: Why It's Time to Embrace Python 3.9+ and OpenSSL 3.0

Did you know that for Splunk Enterprise 9.4, Python 3.9 is the default interpreter? This shift is not just a ...