Skip to content

Commit

Permalink
Change missing application log to debugf. Add missing cache_duration …
Browse files Browse the repository at this point in the history
…to add_cloudfoundry_metadata documentation. (#16998) (#17027)

(cherry picked from commit 8d267b7)
  • Loading branch information
blakerouse committed Mar 19, 2020
1 parent cf18846 commit aa13b46
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ func (d *addCloudFoundryMetadata) Run(event *beat.Event) (*beat.Event, error) {
}
app, err := d.client.GetAppByGuid(val)
if err != nil {
d.log.Warnf("failed to get application info for GUID(%s): %v", val, err)
d.log.Debugf("failed to get application info for GUID(%s): %v", val, err)
return event, nil
}
event.Fields.DeepUpdate(common.MapStr{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,4 +53,6 @@ It has the following settings:

`client_secret`:: Client Secret to authenticate with Cloud Foundry.

`cache_duration`:: (Optional) Maximum amount of time to cache an application's metadata.

`ssl`:: (Optional) SSL configuration to use when connecting to Cloud Foundry.

0 comments on commit aa13b46

Please sign in to comment.