Not able to insert msg.tags in influx dB using node-red-contrib-influxdb

I have created function to insert data in influx db 2.0 where i would like to insert 10 different parameter with measurement and tags. so i can filter data from m/c wise by using msg.tags. But not able to insert msg.tags value in database. Function node code as below.

msg.measurement = "MTR-MATRIX";
msg.tags = { machine_name: "D-1" };
msg.payload = {
    ai_LH_Platen_TempPV: msg.payload.ai_LH_Platen_TempPV,
    ai_LH_Jacket_TempPV: msg.payload.ai_LH_Jacket_TempPV,
    ai_RH_Platen_TempPV: msg.payload.ai_RH_Platen_TempPV,
    ai_RH_Jacket_TempPV: msg.payload.ai_RH_Jacket_TempPV,
    ai_LH_Press_IntPressurePV: msg.payload.ai_LH_Press_IntPressurePV,
    ai_RH_Press_IntPressurePV: msg.payload.ai_RH_Press_IntPressurePV,
    ai_LH_Press_IntTempPV: msg.payload.ai_LH_Press_IntTempPV,
    ai_RH_Press_IntTempPV: msg.payload.ai_RH_Press_IntTempPV,
    ai_RH_Press_ShapingPV: msg.payload.ai_RH_Press_ShapingPV,
    ai_LH_Press_ShapingPV: msg.payload.ai_LH_Press_ShapingPV
};

return msg; 

I wanted to use db to create Dynamic dashboard in Grafana using m/c name. So, i can filter by m/c name.
help me to find out minor error i am missing.

Read the help text for the node. That is not how to save tags.

I have gone to the help of node-red-contrib-influxdb. I am not able to find related to .tag in node.
i will thank full to you if you can provide code line or guide me.

I'm not familiar with this node but from the readme: node-red-contrib-influxdb (node) - Node-RED...

The function node generates sample points as follows:

msg.payload = [
    {
        measurement: "weather_sensor",
        fields: {
            temp: 5.5,
            light: 678,
            humidity: 51
        },
        tags:{
            location:"garden"
        },
        timestamp: new Date()
    },
    {
        measurement: "alarm_sensor",
        fields: {
            proximity: 999,
            temp: 19.5
        },
        tags:{
            location:"home"
        },
        timestamp: new Date()
    }
];
return msg;

Did that help?

I am not at my PC, but doesn't it say something like
If msg.payload is an array of two objects then the first object contains the fields and the second contains the tags.