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

How traffic data is collected #166

Open
sparrow0930 opened this issue Jul 13, 2021 · 1 comment
Open

How traffic data is collected #166

sparrow0930 opened this issue Jul 13, 2021 · 1 comment

Comments

@sparrow0930
Copy link

Hello,

We just found out about this tool and have some questions around it.

1.In the docs I wasn't able to find out how node data is sent to Vizceral
2.Also if there is anything that watches nodes traffic, how is this done? and if traffic data is encripted will it still be available to be sent to vizceral?

Thanks in advance.

@Unfunctioned
Copy link

Hello sparrow0930,
to my knowledge Vizceral is just a library/application that allows you to visualize traffic data that is provided to it. So, I do not think that there is any functionality that allows you to monitor node traffic.

Regarding your first question, the traffic data is supplied to Vizceral by providing a traffic graph using the graph format as specified here (in JSON-format):
https://github.com/Netflix/vizceral/wiki/How-to-Use

This data can be supplied by calling the components updateData()-function.

I am not aware of any functionality that allows you to generate this graph format though, so you possibly need to implement that yourself.

An example how sample JSON-files can provided to Viceral can also be found in the Vizceral-example project:
https://github.com/Netflix/vizceral-example

Specifically in the componentDidMount() and beginSampleData() functions of the traffixFlow.jsx-class
https://github.com/Netflix/vizceral-example/blob/master/src/components/trafficFlow.jsx

This class also suggest that the graph can supplied by setting the traffic-parameter of the Vizceral-object in the render-function.

I would like to point out that I only recently started looking at this project again, after not having worked with it in over a year. So I would not consider myself an expert on it.

Anyways I hope that I could be of some help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants