Giter Club home page Giter Club logo

Comments (5)

YamatoSecurity avatar YamatoSecurity commented on June 21, 2024 1

@fukusuket I talked to someone who is more familiar with importing into elastic stack and he said that elastic will create multiple logs (documents) when arrays are used and it will make parsing more difficult so I think we should avoid arrays and keep everything as strings. We should probably keep the Channel and EventID information not in Details, but in the normal fields so that it makes searching for them easier.

from hayabusa.

fukusuket avatar fukusuket commented on June 21, 2024 1

@YamatoSecurity
Thank you for checking :) Is the expected JSON output format like the following?

  • Top-level fields are strings joined with ¦.
  • Create fields such as Count/IpAddress/SubStatus... under the Details field and store values ​​in each.
{
    "Timestamp": "2021-10-24 06:50:11.666 +09:00",
    "RuleTitle": "TEST_TITLE",
    "Level": "info",
    "Computer": "HOSTA ¦ HOSTB",
    "Channel": "Sysmon ¦ Security",
    "EventID": "4624 ¦ 4625",
    "RecordID": "",
    "Details": {
        "Count": 2,
        "IpAddress": "10.23.23.9",
        "SubStatus": "0x0",
        "LogonType": "10"
    },
    "ExtraFieldInfo": "-"
}

from hayabusa.

fukusuket avatar fukusuket commented on June 21, 2024

#1339 (comment)

Or even better, if we could define in details: 'TgtUser: %TargetUserName% ¦ SrcIp: %IpAddress%' and get the following results: Count: 4 ¦ TgtUser: tanaka/Administrator/adsyncadmin/suzuki ¦ SrcIp: -

from hayabusa.

fukusuket avatar fukusuket commented on June 21, 2024

#1341 (comment)

  • If top level Channel has multiple values, should it be an array or string?
  • If top level EventID has multiple values, should it be an array or string?
  • If each field under Details has multiple values, should it be an array or string?
  • Should the aggregate results of Channel and EventID be placed under Details?

from hayabusa.

YamatoSecurity avatar YamatoSecurity commented on June 21, 2024

@fukusuket LGTM!

from hayabusa.

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.