title: insert multiple values with tags into influxdb
body: <p>I'm trying to collect smartctl metrics and push them into influxdb. I'm having difficulty adding tags for values being pushed in so that the tags and values are in the right place.</p>
  
  <p>If I do this:</p>
  
  <pre><code>curl -POST 'http://localhost:8086/write?db=test' --data-binary 'smartctl Raw_Read_Error_Rate=19243395i,Spin_Up_Time=0i,Start_Stop_Count=149i,Reallocated_Sector_Ct=25i,Seek_Error_Rate=4735843653i,Power_On_Hours=41286i,Spin_Retry_Count=0i,Power_Cycle_Count=150i,End_to_End_Error=0i,Reported_Uncorrect=0i,Command_Timeout=12885098501i,High_Fly_Writes=0i,Airflow_Temperature_Cel=29i,G_Sense_Error_Rate=0i,Power_Off_Retract_Count=145i,Load_Cycle_Count=25668i,Temperature_Celsius=29i,Hardware_ECC_Recovered=19243395i,Current_Pending_Sector=0i,Offline_Uncorrectable=0i,UDMA_CRC_Error_Count=0i 1472412282915653274'
  </code></pre>
  
  <p>There are no tags:</p>
  
  <pre><code>SHOW TAG KEYS FROM "smartctl" (empty result)
  </code></pre>
  
  <p>How do I add tags to that same curl command so that I get something like:</p>
  
  <pre><code>host=foo,disk_name="Seagate Blah"
  </code></pre>
  
  <p>Adding some clarification:</p>
  
  <p>If I use a comma (and set a value), then they are <em>all</em> tags, not fields:</p>
  
  <pre><code>curl -POST 'http://localhost:8086/write?db=test' --data-binary 'smartctl,Raw_Read_Error_Rate=19243395i,Spin_Up_Time=0i,Start_Stop_Count=149i,Reallocated_Sector_Ct=25i,Seek_Error_Rate=4735843653i,Power_On_Hours=41286i,Spin_Retry_Count=0i,Power_Cycle_Count=150i,End_to_End_Error=0i,Reported_Uncorrect=0i,Command_Timeout=12885098501i,High_Fly_Writes=0i,Airflow_Temperature_Cel=29i,G_Sense_Error_Rate=0i,Power_Off_Retract_Count=145i,Load_Cycle_Count=25668i,Temperature_Celsius=29i,Hardware_ECC_Recovered=19243395i,Current_Pending_Sector=0i,Offline_Uncorrectable=0i,UDMA_CRC_Error_Count=0i value=0 1472412282915653274'
  </code></pre>
  
  <p>(side note: I also don't see what I would set as a value for "smartctl"?)</p>
  
  <p>What I need is to set all of the above as a <em>field</em>, but with tags so I can determine the host they are reporting from. So I can do something like:</p>
  
  <pre><code>select Temperature_Celsius from smartctl where host=foo
  </code></pre>