Skip to content

korrel8r neighbors

korrel8r neighbors

Get graph of nearest neighbors

korrel8r neighbors [flags]

Options

      --class string         Class for serialized start objects
  -d, --depth int            Depth of neighborhood search. (default 2)
      --errors               Include non-fatal errors in graph
  -h, --help                 help for neighbors
      --limit int            Limit total number of results.
      --object stringArray   Serialized start object, can be multiple.
  -q, --query stringArray    Query string for start objects, can be multiple.
      --results              Include complete query results in graph
      --rules                Include rule names in returned graph
      --since duration       Only get results since this long ago.
      --timeout duration     Timeout for store requests.
      --until duration       Only get results until this long ago.

Options inherited from parent commands

      --blockprofile file       Write block profile to file
  -c, --config string           Configuration file (default "/etc/korrel8r/korrel8r.yaml")
      --cpuprofile file         Write CPU profile to file
      --httpprofile             Enable pprof HTTP endpoints
      --memprofile file         Write memory profile to file
      --metric-file string      Write metrics to the given file at the end of execution
      --mutexprofile file       Write mutex profile to file
      --otel-collector string   URL of OTLP collector endpoint for pushing metrics (e.g. http://localhost:4318/v1/metrics)
  -o, --output string           One of [json json-pretty ndjson yaml] (default "yaml")
      --trace file              Write execution trace to file
  -v, --verbose int             Verbosity for logging (0: notice/error, 1: info/warn, 2: debug, 3: per-request, 4: per-rule, 5: per-query, 9: extra detail