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!

Splunk Platform | Upgrading your Splunk Deployment to Python 3.9

Splunk initially announced the removal of Python 2 during the release of Splunk Enterprise 8.0.0, aiming to ...

From Product Design to User Insights: Boosting App Developer Identity on Splunkbase

co-authored by Yiyun Zhu & Dan Hosaka Engaging with the Community at .conf24 At .conf24, we revitalized the ...

Detect and Resolve Issues in a Kubernetes Environment

We’ve gone through common problems one can encounter in a Kubernetes environment, their impacts, and the ...