Git Product home page Git Product logo

gobi's People

Contributors

automixer avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

gobi's Issues

How to debug gobi?

I've encountered some errors but don't know how to debug Gobi, can you provide any advice?

ย  Last Min Max Mean
Untracked traffic 20.5 b/s 0 b/s 107 kb/s 29.4 kb/s
error_decoding 26.9 kHz 15.8 kHz 27.1 kHz 25.3 kHz
-- -- -- -- --
template_not_found 0 Hz 0 Hz 0.0833 Hz 0.0224 Hz

What is mean the labelset

The project is so cool!

  # Supported flows aggregation labels (default: SamplerAddress)
  labelset: ["Type", "FlowDirection", "SamplerAddress", "SrcAddr", 
             "DstAddr", "Etype", "Proto", "SrcPort", "DstPort", 
             "InIf", "OutIf", "SrcAS", "DstAS", "NextHop", "NextHopAS", 
             "SrcNet", "DstNet", "SrcCountry", "DstCountry"]

My flow record:

Flow Record:
  Flags        =              0x06 NETFLOW v9, Unsampled
  label        =            <none>
  export sysid =                 1
  size         =                68
  first        =        1681290659 [2023-04-12 17:10:59]
  last         =        1681290719 [2023-04-12 17:11:59]
  msec_first   =               168
  msec_last    =               896
  src addr     =     192.168.122.1
  dst addr     =    192.168.122.26
  src port     =               161
  dst port     =               161
  fwd status   =                 0
  tcp flags    =              0x00 ........
  proto        =                17 UDP
  (src)tos     =                 0
  (in)packets  =               501
  (in)bytes    =             81420
  input        =                 1
  output       =                 0
  src as       =                 0
  dst as       =                 0

How to mapping them?

I should config "labelset" as below?
labelset: ["src as", "dst as", "src port", "dst port", ... ...]

Please help :)

An option to preserve port numbers in metrics

Is there any way to keep port numbers in metrics instead of converting them to service names (which seems to happen by default)? This would allow aggregation of flows received from exporters that doesn't support bidirectional flows, as well as gathering information based on custom port numbers.

Data ingestion on stdin

Compared to similar projects based on goflow2, gobi looks interesting, however so far I've encountered at least one major issue.
Data ingestion seems to work when provided through goflow2 transport file (despite continuous "proto: cannot parse invalid wire-format data \ unexpected EOF" warnings). I cannot make it work, however, with netflow data provided through pipe. Or have I understood something inherently wrong (unfortunately, documentation is scarce)? For the clarity sake, I'm not using any container system and what I'm trying to do is simple: goflow2 -format pb [...] -transport.file "" | gobi -f gobi.yml.

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.