Skip to content

Correctly set loghouse processor name #323

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jul 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ receivers:

# Error code regex: [A-Z][A-Z0-9]+_[A-Z0-9_]+
processors:
loghouse: { }
# logstransform:
# operators:
# - type: regex_parser
Expand Down Expand Up @@ -152,5 +153,5 @@ service:
pipelines:
logs:
receivers: [ filelog ]
processors: [ transform, batch ]
processors: [ loghouse, transform, batch ]
exporters: [ clickhouse ]
2 changes: 1 addition & 1 deletion processor/loghouseprocessor/factory.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ var (
// NewFactory creates a factory for the routing processor.
func NewFactory() processor.Factory {
return processor.NewFactory(
metadata.Type,
component.MustNewType("loghouse"),
createDefaultConfig,
processor.WithLogs(createLogsProcessor, metadata.LogsStability),
)
Expand Down
Loading