Getting Data In

Prop & Transform a Sourcetype & a Sentenc

TitanAE
New Member

I have a Prop & Transform file. In it, I'm trying to parse a specific field and label it as a source type. I had it working before but now... it's a bit broken.

Transforms.conf

[audit_sourcetype_11]
REGEX = (AUDIT_Sourcetype_1)
FORMAT = sourcetype::Sourcetype_1_Name
DEST_KEY = MetaData:Sourcetype

[audit_sourcetype_22]
REGEX = (AUDIT_Sourcetype_22)
FORMAT = sourcetype::Sourcetype_2_Name
DEST_KEY = MetaData:Sourcetype

Props.conf

disabled = false
NO_BINARY_CHECK = true
disabled = false
pulldown_type = true

The other issue I'm having is that I have certain events and messages that show up like this:

[ System_Message = This is a system message ]

However Splunk parses it and displays it like this:

Field: System_Message
Value: This

How do I tell Splunk to look at the entire message. Not just the first character? In the same Transforms.conf?

0 Karma

HiroshiSatoh
Champion

It is not a configuration file of the field definition.
If the field definition is bad, why not try redefining it from the GUI?

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!

Keep the Learning Going with the New Best of .conf Hub

Hello Splunkers, With .conf26 getting closer, there’s already a lot of excitement building around this year’s ...

Splunk Community Badges!

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

How to find the worst searches in your Splunk environment and how to fix them

Everyone knows Splunk is a powerful platform for running searches and doing data analytics. Your ...