Use one Measurement but different Fields within that measurement.
The help for the node says:
The msg.payload needs to be an array of point objects.
The measurement property of a point contains the name of the measurement for the point. The fields property will contain the fields of the point. If supplied, the tags property will contain the tags for the point. To set the time for the point, supply a timestamp property.
However you don't need to use the batch node, see below.
Answering your numbered points:
- You don't need to connect multiple wires. You said you start with all the values in an array, instead of splitting it up build a single message containing all the field values and pass that to the node. Again see the help text for the node:
If msg.payload is an object containing multiple properties, the fields will be written to the measurement.
- You don't need to use the batch node.
- Do you mean using the command line influx client? If so then you first have to tell it which database to use.
use mydatabase. Then
show measurements will show you the measurement names, then
select * from mymeasurement will show you the fields and tags in that measurement. In influxdb a measurement is approximately the same as a table in a normal database.
show field keys shows you the names and types of the fields within each measurement.