Telgraf, Influxdb, and Grafana
-
Hello everyone,
I have searched a lot of different articles and vids on this topic of importing data from PFsense, into Influxdb, and to Grafana. I need help getting things setup.I have PF sense & NTopng setup but it isnt as granular as i'd like so I wanted to setup something to make it more granular using grafana (specifically every device on my network and how much data it pulls per day, w/in given time frames, etc.) I really like the graphics of ntopng but its still confusing a bit for me in general. I need it to be more simple and specific which is why i wanted to try to configure something in Grafana.
I have pf sense setup to do remote logging as well and I have Telegraf installed.
My impression is that remote logging, telegraf, and ntop ng, all gather the same info just different ways to gather the info.I have influxdb and grafana installed on a windows 10 PC. specifically because I dont use linux on a regular basis and wanted something im familiar with.
Telegraf is configured in PFsense and I believe NTopng is set to push data to influxdb and has that configured (for the most part).Either way what i am having issues with is getting either Telegraf to talk to influx and then into grafana and or ntop ng talking to influx, and then into grafana.
I am not sure how to set either (telegraf/ntop into influx & grafana) of them up and I did come across one article that mentioned I have to setup a firewall rule to allow influxdb and grafana ports. I have not done that because I've only seen that mentioned once in all the research I've done AND I am not sure how honestly (im rather new to pfsense too). I know there are a few other plugins like Telegraf such as Netflow and maybe another one but I am not sure about the difference between all of them so I just stuck w/NTopng until i realized that its not as granular as what i want/need.In all the research i did, i came across inputting the server ip (i think in influxdb) which I think is just the ip of my pc w/the port# at the end. I wasnt sure how to change that ip for influx or grafana and was curious how I could change that if I wanted to down the road.
Thanks in advance. Any help is appreciated. Sorry if anything is unclear I can try to re-explain something if needed.