Giter VIP home page Giter VIP logo

Comments (2)

awelzel avatar awelzel commented on August 21, 2024

An easy fix could be for zeekctl to adjust the FileExtract::prefix to something that separates that location from its log processing.

I'm swinging between moving to spool/extract_files and spool/extract_files/<node>/, with slight preferences for the latter.

A bigger change would be to build out proper post-processing for finished files.

Isn't logic often implemented via file_state_remove() in custom scripts? In a default setup it appears even difficult to determine (as an external consumer inspecting the filesystem) if a file has finished extraction or not.

from zeekctl.

ckreibich avatar ckreibich commented on August 21, 2024

spool/extract_files/<node>/

Yeah I was thinking something similar — at least some separation so it doesn't all pile up in one place. This sounds good to me.

Isn't logic often implemented via file_state_remove() in custom scripts?

Yeah.

In a default setup it appears even difficult to determine (as an external consumer inspecting the filesystem) if a file has finished extraction or not.

Yeah exactly — I read over the extractor code and was a bit surprised by that. Seems we could fairly easily do better there.

from zeekctl.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.