Skip to content

Commit

Permalink
Change logger key name to snake case
Browse files Browse the repository at this point in the history
  • Loading branch information
adriansr committed Jul 7, 2021
1 parent 956de5d commit 9ee4d68
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion filebeat/fileset/compatibility.go
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ func (p *Processor) String() string {
// and adapts them for version of Elasticsearch used. Adapt can mean modifying
// processor options or removing the processor.
func adaptPipelineForCompatibility(esVersion common.Version, pipelineID string, content map[string]interface{}, log *logp.Logger) (err error) {
log = log.With("pipelineID", pipelineID)
log = log.With("pipeline_id", pipelineID)
// Adapt the main processors in the pipeline.
if err = adaptProcessorsForCompatibility(esVersion, content, "processors", false, log); err != nil {
return err
Expand Down

0 comments on commit 9ee4d68

Please sign in to comment.