Getting Data In

Debugging LINE_BREAKER and TRANSFORMS

mzorzi
Splunk Employee
Splunk Employee

Are there any DEBUG settings I can enable to get more information on how LINE_BREAKER and TRANSFORMS settings are applied at index-time?

Tags (2)
1 Solution

jrodman
Splunk Employee
Splunk Employee

The category.regexExtractionProcessor log category should produce errors for some categories of failing to compile the TRANSFORMS regexes. You could turn up its verbosity to get success messages when building them as well. They do not have debug output after the first matching event comes through.

I've generally found it necessary to use a combination of pcretest, test instances/indexes, bogus fields, and careful tests to determine the cause of TRANSFORMS troubles.

Line breaking similarly will produce output saying what conf is loaded for category.LineBreakingProcessor, ie for a given conf/source/sourcetype, it will say what the truncation length is as well as the lookbehind (if these are set).

View solution in original post

jrodman
Splunk Employee
Splunk Employee

The category.regexExtractionProcessor log category should produce errors for some categories of failing to compile the TRANSFORMS regexes. You could turn up its verbosity to get success messages when building them as well. They do not have debug output after the first matching event comes through.

I've generally found it necessary to use a combination of pcretest, test instances/indexes, bogus fields, and careful tests to determine the cause of TRANSFORMS troubles.

Line breaking similarly will produce output saying what conf is loaded for category.LineBreakingProcessor, ie for a given conf/source/sourcetype, it will say what the truncation length is as well as the lookbehind (if these are set).

Get Updates on the Splunk Community!

Upcoming Webinar: Unmasking Insider Threats with Slunk Enterprise Security’s UEBA

Join us on Wed, Dec 10. at 10AM PST / 1PM EST for a live webinar and demo with Splunk experts! Discover how ...

.conf25 technical session recap of Observability for Gen AI: Monitoring LLM ...

If you’re unfamiliar, .conf is Splunk’s premier event where the Splunk community, customers, partners, and ...

A Season of Skills: New Splunk Courses to Light Up Your Learning Journey

There’s something special about this time of year—maybe it’s the glow of the holidays, maybe it’s the ...