Skip to content
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

Merged
merged 4 commits into from
May 8, 2020
Merged

Conversation

alfred-landrum
Copy link
Contributor

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.

Makefile Outdated Show resolved Hide resolved
@alfred-landrum alfred-landrum changed the base branch from zeek-jobobj to master May 6, 2020 21:27
Comment on lines -15 to -24
// 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);
}`

Copy link
Collaborator

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?

Copy link
Contributor Author

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.

@alfred-landrum alfred-landrum merged commit 5f91910 into master May 8, 2020
@alfred-landrum alfred-landrum deleted the remove-zeek-args branch May 8, 2020 17:58
alfred-landrum added a commit to brimdata/zui that referenced this pull request May 8, 2020
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 ).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants