Community discussions

MikroTik App
 
hesam1992
just joined
Topic Author
Posts: 8
Joined: Thu May 23, 2019 9:04 pm

netflow2json: Solution for Analyzing TrafficFlow V9 Data - Alternative to Mikrotik Accounting

Sun Oct 29, 2023 10:34 am

Introducing "netflow2json" the Python-based package designed to collecting and analysing of TrafficFlow V9 data.

Overview
netflow2json simplifies Netflow V9 traffic data management,with this package you can access trafficflow traffic as json and accessible with web, providing an alternative to the deprecated Mikrotik accounting feature. Easily install the package using pip:
pip install netflow2json
Usage Example
from netflow2json.analyser import NetflowProcessor

processor = NetflowProcessor(web_port=8080, netflow_port=2055, local_ip_ranges=['172.16.11.0/24','172.16.12.0/24','172.16.13.0/24','172.16.14.0/24','192.168.0.0/24','192.168.1.0/24'])
processor.start()
Explore Further
Stay updated and contribute on https://github.com/h-haghpanah/netflow2json
 
jult
Frequent Visitor
Frequent Visitor
Posts: 52
Joined: Sat Dec 26, 2020 1:16 am

Re: netflow2json: Solution for Analyzing TrafficFlow V9 Data - Alternative to Mikrotik Accounting

Wed Jan 17, 2024 5:58 pm

netflow2json simplifies Netflow V9 traffic data management,with this package you can access trafficflow traffic as json and accessible with web,
I see nothing about it being accessible via the web on the github page. Please explain.
 
hesam1992
just joined
Topic Author
Posts: 8
Joined: Thu May 23, 2019 9:04 pm

Re: netflow2json: Solution for Analyzing TrafficFlow V9 Data - Alternative to Mikrotik Accounting

Wed Jan 17, 2024 6:22 pm

Do you have any errors? Could you share your MikroTik configuration and Python code?
 
jult
Frequent Visitor
Frequent Visitor
Posts: 52
Joined: Sat Dec 26, 2020 1:16 am

Re: netflow2json: Solution for Analyzing TrafficFlow V9 Data - Alternative to Mikrotik Accounting

Tue Jan 23, 2024 11:06 am

"with this package you can access trafficflow traffic as json and accessible with web"

Again, I see nothing about it being accessible via the web. How, where?
I installed your pip package.
 
elbob2002
Member Candidate
Member Candidate
Posts: 267
Joined: Tue May 15, 2018 8:15 pm
Location: Ireland

Re: netflow2json: Solution for Analyzing TrafficFlow V9 Data - Alternative to Mikrotik Accounting

Tue Jan 23, 2024 1:53 pm

Installed it via pip and Web was accessible on http port 8080

Who is online

Users browsing this forum: No registered users and 17 guests