Add data for dashboard charting

Hello. How can I add data for dashboard charting from an external source?

I dont think Graylog Dashboard is capable of doing that, but you might be able to write a plugin for it.
https://docs.graylog.org/en/4.0/pages/plugins.html