Skip to content

Commit

Permalink
fix: revert missing splitline of shennong log profile in processorspl…
Browse files Browse the repository at this point in the history
…itmultilinelog (#1544)

* fix split line shennong log profile
  • Loading branch information
henryzhx8 authored and linrunqi08 committed Jun 19, 2024
1 parent aebe53a commit 015b8ad
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 0 additions & 2 deletions core/processor/ProcessorSplitLogStringNative.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,6 @@ void ProcessorSplitLogStringNative::Process(PipelineEventGroup& logGroup) {
}
*mSplitLines = newEvents.size();
logGroup.SwapEvents(newEvents);

return;
}

bool ProcessorSplitLogStringNative::IsSupportedEvent(const PipelineEventPtr& e) const {
Expand Down
1 change: 1 addition & 0 deletions core/processor/ProcessorSplitMultilineLogStringNative.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@ void ProcessorSplitMultilineLogStringNative::Process(PipelineEventGroup& logGrou
}
mProcMatchedLinesCnt->Add(inputLines - unmatchLines);
mProcUnmatchedLinesCnt->Add(unmatchLines);
*mSplitLines = newEvents.size();
logGroup.SwapEvents(newEvents);
}

Expand Down

0 comments on commit 015b8ad

Please sign in to comment.