title: How do I debug Telegraf?
body: <p>I'm trying to get telegraf working with influxdb and I've just hit a wall. I added the following block in my telegraf config file:</p>
  
  <pre><code>[[inputs.win_perf_counters.object]]
  # Process metrics, in this case for IIS only
  ObjectName = "Process"
  Instances = ["W3SVC"]
  Counters = ["% Processor Time","Handle Count","Private Bytes","Thread Count","Virtual Bytes","Working Set"]
  Measurement = "win_proc"
  </code></pre>
  
  <p>However, when I search my db, I never see that measurement. I know that process is running, so it should be outputting something. The problem is that even though I have logging turned on, there's no logfile. There's also nothing in the event viewer. Short of downloading the source code and running the program in a local debugger, I have no idea how to proceed. Does anyone have any ideas?</p>