Discover Packages
github.com/dynamiteai/beats
libbeat
cfgfile
package
Version:
v1.2.0
Opens a new window with list of versions in this module.
Published: Mar 30, 2016
License: Apache-2.0
Opens a new window with license information.
Imports: 8
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation Source Files Index Constants Variables Functions Types ChangeDefaultCfgfileFlag(beatName) IsTestConfig() Read(out, path)
Documentation
¶
ChangeDefaultCfgfileFlag replaces the value and default value for the `-c` flag so that
it reflects the beat name.
Read reads the configuration from a yaml file into the given interface structure.
In case path is not set this method reads from the default configuration file for the beat.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.