For anyone who is interested, here is a Node-Red flow to post events directly from Hubitat's eventsocket to Influx.
You need to install "node-red-contrib-filter" and "node-red-contrib-influxdb" to make it work in Node-Red.
JSON code can be found here:
HE2Influx JSON
Have been using this for a while without any issues. Here is my default Grafana board:

