Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sankey is a DAG, the original data has cycle! #3426

Open
gaby opened this issue May 8, 2024 · 1 comment
Open

Sankey is a DAG, the original data has cycle! #3426

gaby opened this issue May 8, 2024 · 1 comment
Assignees
Labels
☢️ Bug Something isn't working

Comments

@gaby
Copy link
Contributor

gaby commented May 8, 2024

Which OpenObserve functionalities are the source of the bug?

dashboards

Is this a regression?

No

Description

When using Elastic Packetbeat Flows data the following error shows up with a Sankey visualization:

Error: Sankey is a DAG, the original data has cycle!

Example Event:

{
  "@timestamp": "2018-11-15T14:41:24.000Z",
  "agent": {
    "hostname": "host.example.com",
    "name": "host.example.com",
    "version": "8.13.3"
  },
  "destination": {
    "bytes": 460,
    "ip": "198.51.100.2",
    "mac": "06-05-04-03-02-01",
    "packets": 2,
    "port": 80
  },
  "event": {
    "dataset": "flow",
    "duration": 3000000000,
    "end": "2018-11-15T14:41:24.000Z",
    "start": "2018-11-15T14:41:21.000Z"
  },
  "flow": {
    "final": true, 
    "id": "FQQA/wz/Dv//////Fv8BAQEBAgMEBQYGBQQDAgGrAMsAcQPGM2QC9ZdQAA",
    "vlan": 171
  },
  "network": {
    "bytes": 470,
    "community_id": "1:t9T66/2c66NQyftAEsr4aMZv4Hc=",
    "packets": 3,
    "transport": "tcp",
    "type": "ipv4"
  },
  "source": {
    "bytes": 10,
    "ip": "203.0.113.3",
    "mac": "01-02-03-04-05-06",
    "packets": 1,
    "port": 38901
  }
}

For the Sankey visualization I am using the following fields:

  • Source: source_ip
  • Target: destionation_ip
  • Value: network_bytes

image

Please provide a link to a minimal reproduction of the bug

No response

Please provide the exception or error you saw

N/a

Please provide the version you discovered this bug in (check about page for version information)

Latest

Anything else?

No response

@gaby gaby added the ☢️ Bug Something isn't working label May 8, 2024
@gaby
Copy link
Contributor Author

gaby commented May 8, 2024

Related apache/echarts#19505

This is a known issue with Apache Echarts, I'm not sure why it happens with my data though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
☢️ Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants