-
Notifications
You must be signed in to change notification settings - Fork 169
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
add flattenfields + create indextemplate #868
Conversation
71311f7
to
0168768
Compare
outputs/elasticsearch.go
Outdated
return err | ||
} | ||
d.EndpointURL = u | ||
if err := d.Get(); err != nil { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this block has a very deep nesting, you could think about a dedicated function which uses early returns instead
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Got it. Just changed the func following your comment
Signed-off-by: Thomas Labarussias <[email protected]>
0168768
to
d083849
Compare
Signed-off-by: Thomas Labarussias <[email protected]>
LGTM label has been added. Git tree hash: 2591bafdd035dc71148c99f7790ae2e1563f33df
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: fjogeleit, Issif The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
What type of PR is this?
/kind bug
/kind feature
Any specific area of the project related to this PR?
/area outputs
What this PR does / why we need it:
Allow to flatten the
output_fields
(replace.
by_
) to avoid the conflicts of mappings.Which issue(s) this PR fixes:
#762
Fixes #
Special notes for your reviewer: