-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
packetbeat protocols enabled
config
#1988
Conversation
a8b16d4
to
669c16c
Compare
LGTM, waiting for green |
some additional changes next to adding
|
@@ -35,8 +35,9 @@ type InterfacesConfig struct { | |||
} | |||
|
|||
type Flows struct { | |||
Timeout string | |||
Period string | |||
Enable bool `config:"enable"` |
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.
just discovered the default value being false
, but not true
as documented.
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.
fixed by introducing (*Flows).Enabled().
73cfdf8
to
f10cbb9
Compare
@urso Same problem here as with the output PR. You used |
@ruflin will change metricbeat to |
Both works for me. I tried to find some example for |
6dcca56
to
8eb0a52
Compare
changed |
@@ -247,6 +254,12 @@ packetbeat.protocols.thrift: | |||
|
|||
The following options are available for all protocols: | |||
|
|||
===== enabled | |||
|
|||
The enabled setting is a boolean setting to enable or disable protocols without having to comment out configuration sections.. If set to false, the protocol is disabled. |
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.
sections..
b9a2e8c
to
e8a51d1
Compare
@@ -283,9 +296,9 @@ The per protocol transaction timeout. Expired transactions will no longer be cor | |||
|
|||
You can specify the following options in the `icmp` section of the +{beatname_lc}.yml+ config file: | |||
|
|||
===== enabled | |||
===== enable |
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.
enabled
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.
No idea why this still shows as enabled. Locally it's enabled
, only opening the github editor for file in feature branch shows enabled
. Some github caching going on here?
e8a51d1
to
7963a3a
Compare
@urso There is also an other issue with Enabled Method and variable: https://travis-ci.org/elastic/beats/jobs/144204760#L429 |
7963a3a
to
ab781c6
Compare
@ruflin rebased and fixed build |
enable
configenabled
config
blocked by #1987