Any Idea on getting Graphs generated via API or other means to be re shown?

Started by samnet, August 04, 2024, 01:33:31 PM

Previous topic - Next topic
Hi,
We are building an APP that will look into the graphs generated by opnsense and show it in our APP UI.
we wanted to know a proper way to access those graph and fetch them directly from the opnsense and just get them displayed.
When we do API we get RAW data. what we want os the graph to be rendered on opnsense then just re show the png file generated in the APP
is there a good way to do this?
----------------------------
Breeding Open Source
M0n0wall -> PfSense -> OpnSense -> Make lots of sense


Quote from: cookiemonster on August 04, 2024, 02:04:48 PM
which graphs ?
Graphs seen under reporting menu and firewall graphs as well
----------------------------
Breeding Open Source
M0n0wall -> PfSense -> OpnSense -> Make lots of sense


Quote from: cookiemonster on August 04, 2024, 11:16:54 PM
maybe a look at https://docs.opnsense.org/manual/how-tos/netflow_exporter.html and the code in github will assist
Thanks can you share the github code pls?
----------------------------
Breeding Open Source
M0n0wall -> PfSense -> OpnSense -> Make lots of sense


Quote from: cookiemonster on August 06, 2024, 11:01:11 AM
https://github.com/opnsense
Thanks but our problem is actaully wanting to get the graphing images processed on opnsense side rather than getting the app to re draw graph from a raw data fetched from opnsense
Im sure there is a way for this
all those graphs show or generated under reporting I think there must be a way to get them via api or using a graphing engine.
----------------------------
Breeding Open Source
M0n0wall -> PfSense -> OpnSense -> Make lots of sense


Quote from: cookiemonster on August 07, 2024, 02:58:26 PM
Seems like you want to stream graphs. I don't know then. Sorry.
Im not sure if streaming graphs is the correct term, but anyway Im sure there must be a way to get those graphs somehow
----------------------------
Breeding Open Source
M0n0wall -> PfSense -> OpnSense -> Make lots of sense