09.12.2017

FastNetMon Advanced Traffic Persistency

Introduction

FastNetMon has bundled ability to store all traffic inside special column-oriented database. You could store all traffic inside it and retrieve it using well-known SQL syntax.

System requirements

You should have working instance of FastNetMon before using this guide. Also, you need to install visual traffic stack because we use Grafana for traffic persistency too.

Install traffic database

For installing traffic persistency databases we use special flag from FastNetMon’s installer.

Download ASN mapping database

It’s mandatory step if you are interested in ASN tgging for your traffic. If your device populates it in Netflow v5/v9 and IPFIX stream you do not need it.

Configure FastNetMon to store traffic into traffic database

And start traffic_db daemon:

Make example queries

Start client:

Example query:

Execute ASN query:

As output, you could find number of packets per destination ASN for required time slice.

Also, you could use Grafana support to access to information from ClickHouse database. Please follow this guide to enable it.

Clickhouse does not have capability to remove old data automatically, you can use our script for this task.