Skip to content

Commit

Permalink
Correctly set loghouse processor name (#323)
Browse files Browse the repository at this point in the history
* make checks

* Fix name of loghouse processor
  • Loading branch information
RoryCrispin authored Jul 26, 2024
1 parent d69d548 commit 4f6d747
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
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

0 comments on commit 4f6d747

Please sign in to comment.