Knowledge Management

Can I define permanent interpreting rules for specific directories?

leon12
Loves-to-Learn

Hey Guys, I have the following Event Data (Picture 1) that come into splunk via universal forwarder. I managed it to generate a table out of it (by using different operations like a delimiter by /n and the statements of picture 2). My Question is:

Can I define permanent interpreting rules for specific directories, so that the statements of picture 2 and the delimiter by /n are permanently apllicated for some specific directories?:)

 

Sincreley Leon

splunkt tabelle.PNG

 

 

Labels (2)
0 Karma

gcusello
SplunkTrust
SplunkTrust

Hi @leon12,

at first the term "data Model" in Splunk means a different thing that you mean: a data Model is a table containing data extracted from events and archived in a MongoDB table, probably you are meaning "dataset".

Anyway, the parsing configurations are stored in props.conf and are fixed for that sourcetype.

props.conf must be located on the Indexers or, if present, on Heavy Forwarders.

Also the eval transformations can be inserted in the props.conf so you don't need to repeat them in eavery search.

The association between an input folder and a sourcetype is done by you in the inputs.conf.

ciao.

Giuseppe

0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Agent Mode Engaged! Enchaining Agentic Operations with Splunk AI Assistant 2.0

    Are you ready to transform how your team handles complex data requests? We invite you to our upcoming ...

Announcing Modern Navigation: A New Era of Splunk User Experience

We are excited to introduce the Modern Navigation feature in the Splunk Platform, available to both cloud and ...

Modernize your Splunk Apps – Introducing Python 3.13 in Splunk

We are excited to announce that the upcoming releases of Splunk Enterprise 10.2.x and Splunk Cloud Platform ...