Snmp table data using telegraf

Dears,

Am trying to poll table data from an agent but am not getting outputs but i cannot diffetiate b/w fields in tables. When i do sleepwalk am getting correct output. I tried to put table.feild in telegraf input but still am not getting the output.
Kindly please help to solve this issue

When collecting a table I recommend adding the table OID:

[[inputs.snmp]]
  [[inputs.snmp.table]]
    oid = "myTable"
    [[inputs.snmp.table.field]]
      name = "foo"
      oid = "myField"

It’s best to compare against snmptable, this more closely matches the operation Telegraf performs:

snmptable -v2c -c public 127.0.0.1 myTable

Dear Dennis,
i tried that but am getting error. Its a table but i think telegraf cannot collect it as table