mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 14:48:21 +00:00
logging: Add filter_name to WriterInfo
...with this change, it'll be possible to identify WriterFrontend's based on (stream, filter_name, path) pairs in addition to (stream, writer, path) pairs.
This commit is contained in:
parent
2c52e533b2
commit
f5d4526eac
3 changed files with 13 additions and 0 deletions
|
@ -1709,6 +1709,7 @@ WriterFrontend* Manager::CreateWriterForFilter(Filter* filter, const std::string
|
|||
|
||||
auto* info = new WriterBackend::WriterInfo;
|
||||
info->path = util::copy_string(path.c_str(), path.size());
|
||||
info->filter_name = filter->name;
|
||||
info->network_time = run_state::network_time;
|
||||
|
||||
auto* filter_config_table = filter->config->AsTable();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue