I will show you an example to see traffic for routes that have some given BGP communities (for example blackholed traffic for RTBH), please read my previous blog post if you need to understand how to use pmacct/sfacct with influxDB and grafana.
If needed, please read my previous blog post to configure your RPKI/ROA validators and sFlow visualisation with pmacct/influxDB/Grafana. It's always better to see what you are doing :)