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

question about configure #4

Closed
dpicollege opened this issue Apr 18, 2017 · 3 comments
Closed

question about configure #4

dpicollege opened this issue Apr 18, 2017 · 3 comments
Labels

Comments

@dpicollege
Copy link

Hello,
i install and run docker. so i have some question
1- ok is there any interface or log file for see the output?
2- i just installed on ubuntu 16 does i need cisco or juniper router to send data to ubuntu?
3-what configure should i change to send traffic to vflow?
and lot's of more question thanks :D for great project!

@mehrdadrad
Copy link
Collaborator

Hi @dpicollege,
You need to have IPFIX/sFlow agent like Juniper or any other software which they export traffic sampling through IPFIX/sFlow. I'll try to put example configuration at docs soon and update here too.
You can mount local docker host to the container like below to see the log:

mkdir -p /tmp/vflow/etc /tmp/vflow/log
echo "log-file: /var/log/vflow/vflow.log" > /tmp/vflow/etc/vflow.conf
docker run -d -p 4739:4739 -p 6343:6343 -p 8081:8081 -e VFLOW_KAFKA_BROKERS="172.17.0.1:9092" -v /tmp/vflow/etc:/usr/local/vflow/etc:ro -v /tmp/vflow/log:/var/log/vflow:rw -i mehrdadrad/vflow
tail -f /tmp/vflow/log/vflow.log

@lyma
Copy link

lyma commented May 24, 2017

Hi @mehrdadrad !

Thank you for sharing this project!
Is there any interface (web, maybe) for output like in nfsen project?
Can you explain for me (a docker newbe) the docker parameters?

Regards.

Lyma

@mehrdadrad
Copy link
Collaborator

@lyma there isn't any built in UI but you can get / see the data through the below:
1- MemSQL (through SQL statement)
2- Kafka Consumer shell script (kafka-console-consumer.sh)
3- Through other scripting language like Python

vFlow has built in monitoring so you can see them through the API or InfluxDB/Grafana

In regard to docker, you can try as below or above reply.

docker run -d -p 2181:2181 -p 9092:9092 spotify/kafka
docker run -d -p 4739:4739 -p 6343:6343 -p 8081:8081 -e VFLOW_KAFKA_BROKERS="172.17.0.1:9092" mehrdadrad/vflow

Please see the Build section, you can compile the vFlow quickly.

*The Netflow v9 feature still is not exist in docker image as it still works as beta version.

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

No branches or pull requests

3 participants