(543) enable HTTP events in CLI
Previously, the runtime config generated by the CLI had HTTP events
disabled when connecting to Cribl/LogStream. That logic has been changed
so HTTP is always enabled.
@@ -154,6 +154,12 @@ func (c *Config) setDefault() error {
Field: ".*",
Value: ".*",
},
+ {
+ WatchType: "http",
+ Name: ".*",
+ Field: ".*",
+ Value: ".*",
+ },
// {
// WatchType: "metric",
// Name: ".*",
@@ -176,15 +182,6 @@ func (c *Config) setDefault() error {
},
}
- if c.CriblDest == "" {
- c.sc.Event.Watch = append(c.sc.Event.Watch, ScopeWatchConfig{
- WatchType: "http",
- Name: ".*",
- Field: ".*",
- Value: ".*",
- })
- }
-
return nil
}
