title: Failed to write data to influxDB through Shell script
body: <p>Config an UDP port 8089 in /etc/influxdb/influxdb.conf:</p>
  
  <pre><code>[[udp]]
   enabled = true
   bind-address = "0.0.0.0:8089"
   database = "testdb"
   retention-policy = ""
  </code></pre>
  
  <p>Started InfluxDB with port 8089</p>
  
  <pre><code>[udp] 2016/06/29 23:17:59 Started listening on UDP: 0.0.0.0:8089
  </code></pre>
  
  <p>Tried to write metric data in a Shell script:   </p>
  
  <pre><code> HOST_OR_IP_OF_INFLUXDB_SERVER=my_ip
   PORT=8089
  
   # Refer to line protocol:
   # https://docs.influxdata.com/influxdb/v0.9/write_protocols/line/
   echo "temperature,machine=unit42,type=assembly internal=32 1434055562000000035" | nc -v -u -w 1 $HOST_OR_IP_OF_INFLUXDB_SERVER $PORT
  </code></pre>
  
  <p>InfluxDB server showed error message:</p>
  
  <pre><code>[udp] 2016/06/29 23:52:18 Failed to parse points: unable to parse 'X': missing fields
  [udp] 2016/06/29 23:52:18 Failed to parse points: unable to parse 'X': missing fields
  [udp] 2016/06/29 23:52:18 Failed to parse points: unable to parse 'X': missing fields
  [udp] 2016/06/29 23:52:18 Failed to parse points: unable to parse 'X': missing fields
  </code></pre>
  
  <p>Seems the data sent to server satisfies the line protocol of InfluxDB, can anyone give any clue on the problem? Thanks.</p>