-
Notifications
You must be signed in to change notification settings - Fork 66
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
change zqd option to specify zeek runner #718
Conversation
3dab62b
to
d5bdd6b
Compare
78098df
to
1ee2e8e
Compare
d5bdd6b
to
590a0fa
Compare
590a0fa
to
2075fcb
Compare
// ExecScript will be fed into a launched zeek process as the --exec option. The | ||
// default script disables the packet_filter and loaded scripts logs. These logs | ||
// are disabled because the emit either timeless logs or logs with timestamp | ||
// set to execution time rather than time of capture. | ||
var ExecScript = ` | ||
event zeek_init() { | ||
Log::disable_stream(PacketFilter::LOG); | ||
Log::disable_stream(LoadedScripts::LOG); | ||
}` | ||
|
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.
Given that we're getting rid of this, is the api able to handle timeless points? Do we have a test for this?
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.
We're still using this setup, but it's moved (like the zeek command line arguments) into the zeekrunner script; see brimdata/zeek#23.
2075fcb
to
96b4582
Compare
This is part of the brimsec/brim repo side work for #731. Use the -zeekrunner cli option to zqd ( brimdata/super#718 ), defaulting to the value of environment variable BRIM_ZEEK_RUNNER, else to the zeekrunner included from the zdeps zeek artifact ( brimdata/zeek#23 ).
This is the brimsec/zq repo side of brimdata/zui#731.
The cli options used when launching zeek are removed, and will be managed in the zeek repo ( brimdata/zeek#23 ).
The zqd cli option to specify a zeek runner is
-zeekrunner
, which should either be a full path to a command or the name of a command available in PATH.