GithubHelp home page GithubHelp logo

Comments (7)

ruflin avatar ruflin commented on June 10, 2024

Can you share a bit of background on how you plan to query and use this data? Especially interested in the collector and relay in the above.

I definitively see value on knowing through which hops an event went at the same time this can contain more then just 3 hops as you pointed out in the above with relay0, relay1 and don't know yet how we should cover that. Would order matter? What I was thinking so far is that originator = agent.

from ecs.

vbohata avatar vbohata commented on June 10, 2024

One use case: currently we collect logs from our switches this way:

  1. switch sends syslog events to rsyslog server [switch is the originator]
  2. filebeat forwards logs from rsyslog logged events to Logstash [filebeat is agent, but not originator, it is just relay this time]
  3. logstash receives logs from filebeat and forwards it to kafka [logstash is relay]
  4. another logstash reads logs from kafka and stores it in elasticsearch [this logstash is collector]
    But lets say, 3+4 is collector. For us it is important to know the originator IP and hostname, the filebeat (here relay) IP and hostname and IP address of peer from which the collector received logs from relay (can be different from relay management IP because of NAT for example).

Would order matter?
Probably.

from ecs.

ruflin avatar ruflin commented on June 10, 2024

So in your case you are interested in the switch and filebeat info but not the other hops? Or you would add all of them?

from ecs.

vbohata avatar vbohata commented on June 10, 2024

Yes, in this case I am interested about the switch and filebeat info. Btw. this use case also shows I need to distinguish log data from metadata. For switch log it is not clear if something like device.originator is related to the event generator or to some event content (for example 802.1x auth info where for the first time device.originator can look like the device authenticating to the switch).

from ecs.

webmat avatar webmat commented on June 10, 2024

I'm hesitant on the value of adding too much metadata surrounding how events are gathered or transported to this common schema, at least this early.

If we clarified how to use ECS while also adding other fields that aren't part of ECS (or not yet), would that help? I've seen internal discussions about this, but it hasn't really been communicated in this repo yet.

from ecs.

ruflin avatar ruflin commented on June 10, 2024

++ on the comment from @webmat

One thing that we started for such proposal is that it can be provided as a use case (see notes there): https://github.com/elastic/ecs#use-cases

from ecs.

ebeahan avatar ebeahan commented on June 10, 2024

observer.* has been introduced, which I think addresses some of the original concerns here, in part.

There's a meta issue in #940 tracking past issues/discussions around pipeline support and guidance in ECS. I've noted this issue in the list captured there.

If there are any current thoughts or concerns on the topic, let's take the discussion there.

from ecs.

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.