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!

Splunk Observability Cloud's AI Assistant in Action Series: Auditing Compliance and ...

This is the third post in the Splunk Observability Cloud’s AI Assistant in Action series that digs into how to ...

Splunk Community Badges!

  Hey everyone! Ready to earn some serious bragging rights in the community? Along with our existing badges ...

What You Read The Most: Splunk Lantern’s Most Popular Articles!

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...