We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
type: http ports: [80, 8080, 8000, 5000, 8002]
The text was updated successfully, but these errors were encountered:
Also how do I make sure format follows the array style with multiple instances of http: elastic/beats#3518
Sorry, something went wrong.
Setting attribute default['packetbeat']['config']['protocols']['http']['ports'] = %w(80 8080 8000 5000 8002) should work for the first case.
default['packetbeat']['config']['protocols']['http']['ports'] = %w(80 8080 8000 5000 8002)
Any configuration defined under node attribute default['packetbeat']['config'] (https://github.com/vkhatri/chef-packetbeat/blob/master/recipes/config.rb#L9 ) goes directly to packetbeat configuration file default['packetbeat']['conf_file'] (https://github.com/vkhatri/chef-packetbeat/blob/master/attributes/default.rb#L8)
default['packetbeat']['config']
default['packetbeat']['conf_file']
e.g.
default['packetbeat']['config']['packetbeat.protocols'] = [ { 'type' => 'dns', 'ports' => [53] 'include_authorities' => true, 'include_additionals' => true }, { ... } ]
I will update the cookbook with recent configuration format.
vkhatri
No branches or pull requests
type: http
ports: [80, 8080, 8000, 5000, 8002]
The text was updated successfully, but these errors were encountered: