Getting Data In

Do I need to create a transforms.conf file in addition to props.conf to disable truncate for a specific sourcetype?

briandickinson
New Member

I have created a props.conf file to allow for logging an event of 16,000 characters. If I am reading the documentation correctly I can tie it to a specific source type and add it to the application I have deployed.

So, I added this props file to my app:

Increase the default line length

sourcetype = bluestripe
TRUNCATE = 0

But the line break is still happening. Do, I need to create a transforms.conf file to go with this that has a stanza name that I replicate in the props file for it to work? Or am I doing something else wrong?

0 Karma

bmacias84
Champion

hello,

their are two settings in props.conf one for truncation and event breaking. TRUNCATE applies to maximum line length of a line in bytes and the other is MAX_EVENTS which specifies the maximum number of input lines to add to any event. If you event is over 16,000 chars long and multi line you will have to set both. By default MAX_EVENTS breaks an event after 256.

Modifying these setting may cause performance issues.


[bluestripe]
TRUNCATE = 0
MAX_EVENTS = 1000

strive
Influencer

Can you post the proper snippet of your props.conf file

0 Karma

strive
Influencer

It Should be like this in props.conf

[bluestripe]
TRUNCATE = 0
0 Karma

strive
Influencer

transforms.conf is not needed

0 Karma

briandickinson
New Member

No transforms.conf needed?

0 Karma
Get Updates on the Splunk Community!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...