json-streaming-logs icon indicating copy to clipboard operation
json-streaming-logs copied to clipboard

Unable to rename files when running with docker

Open gwsales opened this issue 2 years ago • 0 comments

Running the default zeek image and the json-streaming-logs package results in an error logged. I do not know if this is a docker issue, zeek issue, or something that can be fixed in json-streaming-logs. Please close this out if it's not something that should be posted here.

Error:

{
  "_path": "reporter",
  "_system_name": "ubuntu",
  "_write_ts": "2022-10-23T14:40:00.006577Z",
  "level": "Reporter::ERROR",
  "location": "/usr/local/zeek/share/zeek/site/json-streaming-logs/./main.zeek, line 73",
  "message": "cannot rename file '/opt/logs//json_streaming_files-22-10-23_14.39.20.log' to 'json_streaming_files.1.log': Invalid cross-device link (rename(JSONStreaming::info$fname, JSONStreaming::info$path + .1.log))",
  "ts": "2022-10-23T14:40:00.006577Z"
}

Image Name: zeekurity/zeek:latest

gwsales avatar Oct 23 '22 15:10 gwsales