Using the particle application

32 views
Skip to first unread message

aurf alien

unread,
Feb 24, 2025, 9:54:48 AMFeb 24
to sFlow-RT
Hello,
I've been enjoying the browse-flows application, it has really helped in seeing how by bandwidth is used.  However I'm curious about the particle application as was curious if any one has some examples in getting it to work.  Any attempts to use it results in a blank page.

Perhaps furnish a URL?

My url for using flows as an example;

I am not using a Docker image BTW.  So far I have the particle.conf file mentioned in https://blog.sflow.com/2018/07/visualizing-real-time-network-traffic.html in the sflow-rt root folder and I've tried placing it in app/particle.

Perhaps a real world particle.conf example?

I've also seen mention of -Dparticle.demo=yes" but unsure how to us ethat as well.

Peter Phaal

unread,
Feb 24, 2025, 10:27:07 AMFeb 24
to sFlow-RT
The particle animation freezes whenever your mouse if over the browser window. This allows you to hover over individual particles and see atrributes (source/destionation address, protocol, etc.). If you start with -Dparticle.demo=yes, open the particle app web page and then move your mouse outside the window you should see an example animation. The blog article you referenced, https://blog.sflow.com/2018/07/visualizing-real-time-network-traffic.html,  describes how to label each axis and assign address ranges:

particle.axisN=Internet
particle.cidrN=0.0.0.0/0
particle.axisS=Site
particle.cidrS=10.1.1.0/24,10.1.2.0/24
particle.axisE=Datacenter
particle.cidrE=10.2.0.0/16
particle.axisW=Remote
particle.cidrW=10.3.0.0/16

Each of these paramaters can be passed when you start, e.g. -Dparticle.axisN=Internet, labels the top quadrant as "Internet", etc.  You can put all the settings in particles.conf file in the sFlow-RT home directory and load the file with the -D-Dsystem.propertyFiles=particle.conf,

./start.sh -Dsystem.propertyFiles=particle.conf

You said you aren't using Docker. If you are running sFlow-RT as a deb/rpm package then the settings can be added to a file  in the /usr/local/sflow-rt/conf.d directory, e.g /usr/local/sflow-rt/conf.d/particle.conf, see https://sflow-rt.com/reference.php#properties
Reply all
Reply to author
Forward
0 new messages