Closed JonathanWamsley closed 2 years ago
What stanza version is this tested with? Im not sure what the issue is, but CI is running into this error:
{
"level":"error",
"ts":1645452802.341552,
"caller":"agent/builder.go:70",
"msg":"Got errors parsing plugins","errors":[
{
"error":"parse plugin file:
could not unmarshal plugin file: yaml: line 12: did not find expected key: {
\"path\":\"../plugins/jboss.yaml\"
}"
}
],
"stacktrace":"github.com/observiq/stanza/agent.(*LogAgentBuilder).Build\n\t/home/runner/go/pkg/mod/github.com/observiq/stanza@v1.2.10/agent/builder.go:70\ngithub.com/observiq/stanza-plugins.newAgent\n\t/home/runner/work/stanza-plugins/stanza-plugins/test/config_test.go:47\ngithub.com/observiq/stanza-plugins.TestConfigs.func1\n\t/home/runner/work/stanza-plugins/stanza-plugins/test/config_test.go:26\ntesting.tRunner\n\t/opt/hostedtoolcache/go/1.16.14/x64/src/testing/testing.go:1203"}
Example log:
Example output:
Example log2
Example output2: