Getting data from Windows PC data

Dear @TotallyInformation I dont get it sorry, which code I will remove config file ?

@Colin I installed influxdb on the pi and only telegraf I installed Windows PC.
Afterthat I stopped, I dont know, what I will do?

İs any some software necessary to install Windows PC except telegraf?

Why don't you share your telegraf config file.

No, we need to get the basics working first.

Forget InfluxDB for now, you will need to learn how to use that before trying to get Telegraf to talk to it otherwise you will get lost very quickly indeed.

Focus on getting some useful output from Telegraf first - then worry about the next part later.

Ok, I only edit IP address my telegraf config file,you can see added config file..

telegraf - Kopya.txt (11.8 KB)

logfile = "/Program Files/Telegraf/telegraf.log"

Depending on the credentials used to run Telegraf and the security settings of Windows 10, /Program Files might not be writable. Better to use a folder that is writable by all. Maybe create a separate folder such as C:\logs or some such.

You should also set the log rotation settings just beneath that line so that you don't end up filling your hard drive with logs.

[[outputs.influxdb]]

Delete that whole section down to line 133. Replace it with something like:

[[outputs.file]]
  ## Files to write to, "stdout" is a specially handled file.
  ## Output to c:\logs\telegraf-output.log, make sure c:\logs exists first.
  files = ["/logs/telegraf-output.log", "stdout"]

  ## The file will be rotated after the time interval specified.  When set
  ## to 0 no time based rotation is performed.
  # rotation_interval = "0h"

  ## The logfile will be rotated when it becomes larger than the specified
  ## size.  When set to 0 no size based rotation is performed.
  # rotation_max_size = "0MB"

  ## Maximum number of rotated archives to keep, any older logs are deleted.
  ## If set to -1, no archives are removed.
  # rotation_max_archives = 5

  ## Data format to output.
  ## Each data format has its own unique set of configuration options, read
  ## more about them here:
  ## https://github.com/influxdata/telegraf/blob/master/docs/DATA_FORMATS_OUTPUT.md
  data_format = "json"
  ## OR use "influx" instead of "json" for simpler output

Honestly though, most of this is just copied from the documentation so please go back and read that again so that you understand it.

Dear @TotallyInformation

I have give a permission s Program Files Folder and all of them.
I didnt get it sorry. I have default telegraf config file and I have added before my post.
I didnt find

data_format = "json"

this kind of sentence in config file.
Please can we forward step by step

Its always give this error

2019-07-21T09:37:11Z E! [outputs.influxdb] when writing to [http://localhost:8086]: Post http://localhost:8086/write?db=telegraf: dial tcp [::1]:8086: connectex: Hedef makine etkin olarak reddettiğinden bağlantı kurulamadı.
2019-07-21T09:37:11Z E! [agent] Error writing to output [influxdb]: could not write any address

You still haven't done what I said which was to remove the InfluxDB section.

Dear @TotallyInformation after I delete and replace this section again I get error something like below.

2019-07-23T06:51:01Z I! Loaded aggregators: 
2019-07-23T06:51:01Z I! Loaded processors: 
2019-07-23T06:51:01Z I! Loaded outputs: file
2019-07-23T06:51:01Z I! Tags enabled: host=KABINEHB2
2019-07-23T06:51:01Z I! [agent] Config: Interval:10s, Quiet:false, Hostname:"KABINEHB2", Flush Interval:10s
2019-07-23T06:51:11Z E! [outputs.influxdb] when writing to [http://localhost:8086]: Post http://localhost:8086/write?db=telegraf: dial tcp [::1]:8086: connectex: No connection could be made because the target machine actively refused it.
2019-07-23T06:51:11Z E! [agent] Error writing to output [influxdb]: could not write any address
type or paste code here

also this


2019-07-23T07:06:11Z E! [outputs.influxdb] when writing to [http://localhost:8086]: Post http://localhost:8086/write?db=telegraf: dial tcp [::1]:8086: connectex: No connection could be made because the target machine actively refused it.
2019-07-23T07:06:11Z E! [agent] Error writing to output [influxdb]: could not write any address
2019-07-23T07:06:20Z E! [agent] Error writing to output [file]: E! [outputs.file] failed to write message: write /dev/stdout: The handle is invalid.

But I started record in c://logs/telegraf-output.log some data, but its getting so fast and size is getting bigger each minute.

{"fields":{"Percent_Usage":0.49292582273483276},"name":"win_swap","tags":{"host":"KABINEHB2","instance":"_Total","objectname":"Paging File"},"timestamp":1563866130}
{"fields":{"Bytes_Received_persec":0,"Bytes_Sent_persec":0,"Packets_Outbound_Discarded":0,"Packets_Outbound_Errors":0,"Packets_Received_Discarded":0,"Packets_Received_Errors":0,"Packets_Received_persec":0,"Packets_Sent_persec":0},"name":"win_net","tags":{"host":"KABINEHB2","instance":"isatap.{F096F5A0-2AF0-4366-BBF8-E8033E0FA027}","objectname":"Network Interface"},"timestamp":1563866130}
{"fields":{"Bytes_Received_persec":0,"Bytes_Sent_persec":0,"Packets_Outbound_Discarded":0,"Packets_Outbound_Errors":0,"Packets_Received_Discarded":0,"Packets_Received_Errors":0,"Packets_Received_persec":0,"Packets_Sent_persec":0},"name":"win_net","tags":{"host":"KABINEHB2","instance":"isatap.{27926CAE-D3D3-4704-B3D2-055529E6C645}","objectname":"Network Interface"},"timestamp":1563866130}
{"fields":{"Bytes_Received_persec":0,"Bytes_Sent_persec":85.80220794677734,"Packets_Outbound_Discarded":0,"Packets_Outbound_Errors":5,"Packets_Received_Discarded":0,"Packets_Received_Errors":0,"Packets_Received_persec":0,"Packets_Sent_persec":0.8000205755233765},"name":"win_net","tags":{"host":"KABINEHB2","instance":"Realtek USB GbE Family Controller","objectname":"Network Interface"},"timestamp":1563866130}
{"fields":{"Current_Disk_Queue_Length":0,"Disk_Read_Bytes_persec":11878.705078125,"Disk_Reads_persec":0.5000128746032715,"Disk_Write_Bytes_persec":54683.00390625,"Disk_Writes_persec":7.500192642211914,"Percent_Disk_Read_Time":3.4489998817443848,"Percent_Disk_Time":3.8989999294281006,"Percent_Disk_Write_Time":0.44999998807907104},"name":"win_diskio","tags":{"host":"KABINEHB2","instance":"0 C: D:","objectname":"PhysicalDisk"},"timestamp":1563866130}
{"fields":{"Percent_DPC_Time":0,"Percent_Idle_Time":81.74452209472656,"Percent_Interrupt_Time":0,"Percent_Privileged_Time":2.028012990951538,"Percent_Processor_Time":18.255475997924805,"Percent_User_Time":16.224103927612305},"name":"win_cpu","tags":{"host":"KABINEHB2","instance":"2","objectname":"Processor"},"timestamp":1563866130}
{"fields":{"Bytes_Received_persec":0,"Bytes_Sent_persec":0,"Packets_Outbound_Discarded":0,"Packets_Outbound_Errors":0,"Packets_Received_Discarded":0,"Packets_Received_Errors":0,"Packets_Received_persec":0,"Packets_Sent_persec":0},"name":"win_net","tags":{"host":"KABINEHB2","instance":"6TO4 Adapter","objectname":"Network Interface"},"timestamp":1563866130}
{"fields":{"Percent_DPC_Time":0.0780009999871254,"Percent_Idle_Time":91.92359161376953,"Percent_Interrupt_Time":0,"Percent_Privileged_Time":1.2480080127716064,"Percent_Processor_Time":7.92041015625,"Percent_User_Time":6.786044120788574},"name":"win_cpu","tags":{"host":"KABINEHB2","instance":"_Total","objectname":"Processor"},"timestamp":1563866130}
{"fields":{"Bytes_Received_persec":2167.5556640625,"Bytes_Sent_persec":18183.06640625,"Packets_Outbound_Discarded":0,"Packets_Outbound_Errors":0,"Packets_Received_Discarded":0,"Packets_Received_Errors":0,"Packets_Received_persec":19.00048828125,"Packets_Sent_persec":23.10059356689453},"name":"win_net","tags":{"host":"KABINEHB2","instance":"Intel[R] Ethernet Connection [2] I219-V","objectname":"Network Interface"},"timestamp":1563866130}
{"fields":{"Current_Disk_Queue_Length":0,"Free_Megabytes":236154,"Percent_Disk_Read_Time":0,"Percent_Disk_Time":0,"Percent_Disk_Write_Time":0,"Percent_Free_Space":99.3675765991211,"Percent_Idle_Time":100.13600158691406},"name":"win_disk","tags":{"host":"KABINEHB2","instance":"D:","objectname":"LogicalDisk"},"timestamp":1563866130}
{"fields":{"Percent_DPC_Time":0.1560010015964508,"Percent_Idle_Time":99.84063720703125,"Percent_Interrupt_Time":0,"Percent_Privileged_Time":0.1560010015964508,"Percent_Processor_Time":0,"Percent_User_Time":0},"name":"win_cpu","tags":{"host":"KABINEHB2","instance":"1","objectname":"Processor"},"timestamp":1563866130}
{"fields":{"Available_Bytes":5648355328,"Cache_Faults_persec":156.7040252685547,"Demand_Zero_Faults_persec":595.5153198242188,"Page_Faults_persec":2580.8662109375,"Pages_persec":3.7000951766967773,"Pool_Nonpaged_Bytes":208400384,"Pool_Paged_Bytes":329461760,"Standby_Cache_Core_Bytes":95137792,"Standby_Cache_Normal_Priority_Bytes":132026368,"Standby_Cache_Reserve_Bytes":5388300288,"Transition_Faults_persec":1825.2469482421875},"name":"win_mem","tags":{"host":"KABINEHB2","objectname":"Memory"},"timestamp":1563866130}
{"fields":{"Context_Switches_persec":14052.361328125,"Processor_Queue_Length":4,"System_Calls_persec":26370.77734375,"System_Up_Time":580427.875},"name":"win_system","tags":{"host":"KABINEHB2","objectname":"System"},"timestamp":1563866130}
{"fields":{"Current_Disk_Queue_Length":0,"Free_Megabytes":4944,"Percent_Disk_Read_Time":3.4489998817443848,"Percent_Disk_Time":3.9019999504089355,"Percent_Disk_Write_Time":0.453000009059906,"Percent_Free_Space":2.0661985874176025,"Percent_Idle_Time":96.49700164794922},"name":"win_disk","tags":{"host":"KABINEHB2","instance":"C:","objectname":"LogicalDisk"},"timestamp":1563866130}
{"fields":{"Percent_DPC_Time":0,"Percent_Idle_Time":99.21663665771484,"Percent_Interrupt_Time":0,"Percent_Privileged_Time":0.1560010015964508,"Percent_Processor_Time":0.6273630261421204,"Percent_User_Time":0.4680030047893524},"name":"win_cpu","tags":{"host":"KABINEHB2","instance":"3","objectname":"Processor"},"timestamp":1563866130}
{"fields":{"Percent_DPC_Time":0.1560010015964508,"Percent_Idle_Time":86.8925552368164,"Percent_Interrupt_Time":0,"Percent_Privileged_Time":2.652017116546631,"Percent_Processor_Time":13.107442855834961,"Percent_User_Time":10.452067375183105},"name":"win_cpu","tags":{"host":"KABINEHB2","instance":"0","objectname":"Processor"},"timestamp":1563866130}
{"fields":{"Percent_Usage":0.4929741621017456},"name":"win_swap","tags":{"host":"KABINEHB2","instance":"_Total","objectname":"Paging File"},"timestamp":1563866120}

Now I dont see any problem in log file which is located c://Program Files/Telegraf file.

Dear @TotallyInformation , how can I take this information from PC to node red ?

OK, now we are getting somewhere.

Yes, that is kind of the point! :slight_smile:

Now you can see the type and volume of data you will be working with. You can slow things down by changing the data collection interval. You can do that globally or for specific inputs. Check for lines like interval = "10s" where the 10s is the interval time of course. I've set mine to 60s.

You can also change the settings for the output log file - look for entries under the [[outputs.file]] section that talk about "rotation". However, you will actually want to turn off the file output once you have output to Node-RED working.

Take that section out as well. That will get rid of the errors.

Add a new section to the outputs:

[[outputs.socket_writer]]
  address = "udp4://127.0.0.1:8094"
  data_format = "json"

This will output the data to UDP port 8094 on the local device.

Then, in Node-RED, you simply add a udp-in node and set it to listen on port 8094. The port number is not especially important but should be >1024 and otherwise unused.

[{"id":"1f8d207e.d644b","type":"udp in","z":"63281c77.40a064","name":"","iface":"","port":"8094","ipv":"udp4","multicast":"false","group":"","datatype":"utf8","x":100,"y":780,"wires":[["f451a5f1.aff128"]]},{"id":"81e6e26d.46a7f","type":"debug","z":"63281c77.40a064","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","x":910,"y":740,"wires":[]},{"id":"f451a5f1.aff128","type":"json","z":"63281c77.40a064","name":"","property":"payload","action":"","pretty":false,"x":240,"y":780,"wires":[["c139f14.18efd1"]]},{"id":"c139f14.18efd1","type":"switch","z":"63281c77.40a064","name":"","property":"payload.name","propertyType":"msg","rules":[{"t":"eq","v":"temp","vt":"str"},{"t":"else"}],"checkall":"false","repair":false,"outputs":2,"x":390,"y":780,"wires":[["acb9017f.ed291"],["c085c428.780c28"]]},{"id":"c085c428.780c28","type":"debug","z":"63281c77.40a064","name":"","active":false,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","x":550,"y":820,"wires":[]},{"id":"acb9017f.ed291","type":"change","z":"63281c77.40a064","name":"","rules":[{"t":"set","p":"payload","pt":"msg","to":"{\t   \"temperature\": payload.fields.temp,\t   \"sensor\": payload.tags.sensor,\t   \"timestamp\": payload.timestamp\t}","tot":"jsonata"}],"action":"","property":"","from":"","to":"","reg":false,"x":560,"y":740,"wires":[["3de7d3a6.c7530c"]]},{"id":"3de7d3a6.c7530c","type":"switch","z":"63281c77.40a064","name":"Drop Temp. <0","property":"payload.temperature","propertyType":"msg","rules":[{"t":"gte","v":"0","vt":"str"}],"checkall":"true","repair":false,"outputs":1,"x":740,"y":740,"wires":[["81e6e26d.46a7f"]]}]

Thanks for your helps till now, but when I add this section below outputs, and then I restart service, but service is not working, Did I make somthing wrong in configuration file ?

You have added the new section inside the outputs.file section. You should have added the new lines above the outputs.file section or right at the end of that section.
Please go and read and understand the documentation. If you don't understand anything then ask again. Though getting telegraf going is of course nothing to do with node-red.

1 Like

Thanks.
Now I added before output section and everything is ok. Also created node-red part but I dont see anything node red debug node, where can I add gauge for example CPU or any service in Node-red UI ?

This flow is listening udp 8094 port informations right ?

Put a debug on the output of the udp node, do you see anything there?
If not then show us the config of the udp node.

Unfortunately no, when I put debug nodei there is nothing there. I didnt modify your flow which is you shared before your posts

That wasn't my flow. I guess that means that Telegraf is still not working correctly.
What do you see now in the telegraf log?
Are you still seeing the data getting added to the telegraf output file?

This is telegraf.log

2019-07-23T12:59:05Z I! [agent] Hang on, flushing any cached metrics before shutdown
2019-07-23T12:59:05Z E! [agent] Error writing to output [file]: E! [outputs.file] failed to write message: write /dev/stdout: The handle is invalid.
2019-07-23T12:59:07Z I! Loaded inputs: win_perf_counters
2019-07-23T12:59:07Z I! Loaded aggregators: 
2019-07-23T12:59:07Z I! Loaded processors: 
2019-07-23T12:59:07Z I! Loaded outputs: socket_writer file
2019-07-23T12:59:07Z I! Tags enabled: host=KABINEHB2
2019-07-23T12:59:07Z I! [agent] Config: Interval:10s, Quiet:false, Hostname:"KABINEHB2", Flush Interval:1m0s

This is telegraf-output.log

{"fields":{"Bytes_Received_persec":0,"Bytes_Sent_persec":171.82081604003906,"Packets_Outbound_Discarded":0,"Packets_Outbound_Errors":0,"Packets_Received_Discarded":0,"Packets_Received_Errors":0,"Packets_Received_persec":0,"Packets_Sent_persec":1.0212233066558838},"name":"win_net","tags":{"host":"KABINEHB2","instance":"Realtek USB GbE Family Controller","objectname":"Network Interface"},"timestamp":1563886740}
{"fields":{"Current_Disk_Queue_Length":0,"Free_Megabytes":236154,"Percent_Disk_Read_Time":0,"Percent_Disk_Time":0,"Percent_Disk_Write_Time":0,"Percent_Free_Space":99.3675765991211,"Percent_Idle_Time":100.13530731201172},"name":"win_disk","tags":{"host":"KABINEHB2","instance":"D:","objectname":"LogicalDisk"},"timestamp":1563886740}
{"fields":{"Percent_Usage":0},"name":"win_swap","tags":{"host":"KABINEHB2","instance":"_Total","objectname":"Paging File"},"timestamp":1563886740}
{"fields":{"Current_Disk_Queue_Length":0,"Free_Megabytes":4764,"Percent_Disk_Read_Time":0,"Percent_Disk_Time":0.09446004778146744,"Percent_Disk_Write_Time":0.09446004778146744,"Percent_Free_Space":1.990972876548767,"Percent_Idle_Time":100.07913970947266},"name":"win_disk","tags":{"host":"KABINEHB2","instance":"C:","objectname":"LogicalDisk"},"timestamp":1563886740}
{"fields":{"Percent_DPC_Time":0,"Percent_Idle_Time":99.96489715576172,"Percent_Interrupt_Time":0,"Percent_Privileged_Time":0,"Percent_Processor_Time":0,"Percent_User_Time":0},"name":"win_cpu","tags":{"host":"KABINEHB2","instance":"2","objectname":"Processor"},"timestamp":1563886740}
{"fields":{"Percent_DPC_Time":0,"Percent_Idle_Time":99.36750030517578,"Percent_Interrupt_Time":0,"Percent_Privileged_Time":0.5973997712135315,"Percent_Processor_Time":0.43336737155914307,"Percent_User_Time":0},"name":"win_cpu","tags":{"host":"KABINEHB2","instance":"1","objectname":"Processor"},"timestamp":1563886740}
{"fields":{"Available_Bytes":6332600320,"Cache_Faults_persec":17.616100311279297,"Demand_Zero_Faults_persec":212.66973876953125,"Page_Faults_persec":833.1905517578125,"Pages_persec":0,"Pool_Nonpaged_Bytes":170459136,"Pool_Paged_Bytes":172138496,"Standby_Cache_Core_Bytes":192765952,"Standby_Cache_Normal_Priority_Bytes":80347136,"Standby_Cache_Reserve_Bytes":759476224,"Transition_Faults_persec":602.9046630859375},"name":"win_mem","tags":{"host":"KABINEHB2","objectname":"Memory"},"timestamp":1563886740}
{"fields":{"Bytes_Received_persec":0,"Bytes_Sent_persec":0,"Packets_Outbound_Discarded":0,"Packets_Outbound_Errors":0,"Packets_Received_Discarded":0,"Packets_Received_Errors":0,"Packets_Received_persec":0,"Packets_Sent_persec":0},"name":"win_net","tags":{"host":"KABINEHB2","instance":"6TO4 Adapter","objectname":"Network Interface"},"timestamp":1563886740}
{"fields":{"Bytes_Received_persec":0,"Bytes_Sent_persec":0,"Packets_Outbound_Discarded":0,"Packets_Outbound_Errors":0,"Packets_Received_Discarded":0,"Packets_Received_Errors":0,"Packets_Received_persec":0,"Packets_Sent_persec":0},"name":"win_net","tags":{"host":"KABINEHB2","instance":"isatap.{F096F5A0-2AF0-4366-BBF8-E8033E0FA027}","objectname":"Network Interface"},"timestamp":1563886740}
{"fields":{"Bytes_Received_persec":0,"Bytes_Sent_persec":0,"Packets_Outbound_Discarded":0,"Packets_Outbound_Errors":0,"Packets_Received_Discarded":0,"Packets_Received_Errors":0,"Packets_Received_persec":0,"Packets_Sent_persec":0},"name":"win_net","tags":{"host":"KABINEHB2","instance":"isatap.{27926CAE-D3D3-4704-B3D2-055529E6C645}","objectname":"Network Interface"},"timestamp":1563886740}
{"fields":{"Current_Disk_Queue_Length":0,"Disk_Read_Bytes_persec":0,"Disk_Reads_persec":0,"Disk_Write_Bytes_persec":17254.587890625,"Disk_Writes_persec":2.2977523803710938,"Percent_Disk_Read_Time":0,"Percent_Disk_Time":0.09318356215953827,"Percent_Disk_Write_Time":0.09318356215953827},"name":"win_diskio","tags":{"host":"KABINEHB2","instance":"0 C: D:","objectname":"PhysicalDisk"},"timestamp":1563886740}
{"fields":{"Context_Switches_persec":16460.71484375,"Processor_Queue_Length":0,"System_Calls_persec":16357.3154296875,"System_Up_Time":5044.875},"name":"win_system","tags":{"host":"KABINEHB2","objectname":"System"},"timestamp":1563886740}
{"fields":{"Percent_DPC_Time":0,"Percent_Idle_Time":97.07746887207031,"Percent_Interrupt_Time":0.04978427290916443,"Percent_Privileged_Time":0.9956663250923157,"Percent_Processor_Time":2.8229665756225586,"Percent_User_Time":1.8917653560638428},"name":"win_cpu","tags":{"host":"KABINEHB2","instance":"_Total","objectname":"Processor"},"timestamp":1563886740}
{"fields":{"Percent_DPC_Time":0,"Percent_Idle_Time":96.97789764404297,"Percent_Interrupt_Time":0,"Percent_Privileged_Time":1.194799542427063,"Percent_Processor_Time":3.022099733352661,"Percent_User_Time":1.7921993732452393},"name":"win_cpu","tags":{"host":"KABINEHB2","instance":"3","objectname":"Processor"},"timestamp":1563886740}
{"fields":{"Bytes_Received_persec":1796.3316650390625,"Bytes_Sent_persec":2190.52392578125,"Packets_Outbound_Discarded":0,"Packets_Outbound_Errors":0,"Packets_Received_Discarded":0,"Packets_Received_Errors":0,"Packets_Received_persec":13.27590274810791,"Packets_Sent_persec":11.233455657958984},"name":"win_net","tags":{"host":"KABINEHB2","instance":"Intel[R] Ethernet Connection [2] I219-V","objectname":"Network Interface"},"timestamp":1563886740}
{"fields":{"Percent_DPC_Time":0,"Percent_Idle_Time":91.99956512451172,"Percent_Interrupt_Time":0.1991332620382309,"Percent_Privileged_Time":2.1904659271240234,"Percent_Processor_Time":8.000431060791016,"Percent_User_Time":5.774864673614502},"name":"win_cpu","tags":{"host":"KABINEHB2","instance":"0","objectname":"Processor"},"timestamp":1563886740}
{"fields":{"Percent_DPC_Time":0,"Percent_Idle_Time":99.34391784667969,"Percent_Interrupt_Time":0,"Percent_Privileged_Time":0,"Percent_Processor_Time":0.6560795903205872,"Percent_User_Time":1.5522487163543701},"name":"win_cpu","tags":{"host":"KABINEHB2","instance":"0","objectname":"Processor"},"timestamp":1563886732}
{"fields":{"Available_Bytes":6333390848,"Cache_Faults_persec":0,"Demand_Zero_Faults_persec":94.56507873535156,"Page_Faults_persec":226.95619201660156,"Pages_persec":0,"Pool_Nonpaged_Bytes":170401792,"Pool_Paged_Bytes":172138496,"Standby_Cache_Core_Bytes":192794624,"Standby_Cache_Normal_Priority_Bytes":80347136,"Standby_Cache_Reserve_Bytes":759476224,"Transition_Faults_persec":132.39111328125},"name":"win_mem","tags":{"host":"KABINEHB2","objectname":"Memory"},"timestamp":1563886732}
{"fields":{"Bytes_Received_persec":1924.1505126953125,"Bytes_Sent_persec":2095.363037109375,"Packets_Outbound_Discarded":0,"Packets_Outbound_Errors":0,"Packets_Received_Discarded":0,"Packets_Received_Errors":0,"Packets_Received_persec":11.945062637329102,"Packets_Sent_persec":10.949640274047852},"name":"win_net","tags":{"host":"KABINEHB2","instance":"Intel[R] Ethernet Connection [2] I219-V","objectname":"Network Interface"},"timestamp":1563886732}
{"fields":{"Current_Disk_Queue_Length":0,"Free_Megabytes":236154,"Percent_Disk_Read_Time":0,"Percent_Disk_Time":0,"Percent_Disk_Write_Time":0,"Percent_Free_Space":99.3675765991211,"Percent_Idle_Time":100.10945129394531},"name":"win_disk","tags":{"host":"KABINEHB2","instance":"D:","objectname":"LogicalDisk"},"timestamp":1563886732}
{"fields":{"Percent_DPC_Time":0,"Percent_Idle_Time":100.89617156982422,"Percent_Interrupt_Time":0,"Percent_Privileged_Time":0,"Percent_Processor_Time":0,"Percent_User_Time":0},"name":"win_cpu","tags":{"host":"KABINEHB2","instance":"3","objectname":"Processor"},"timestamp":1563886732}
{"fields":{"Percent_Usage":0},"name":"win_swap","tags":{"host":"KABINEHB2","instance":"_Total","objectname":"Paging File"},"timestamp":1563886732}
{"fields":{"Bytes_Received_persec":0,"Bytes_Sent_persec":0,"Packets_Outbound_Discarded":0,"Packets_Outbound_Errors":0,"Packets_Received_Discarded":0,"Packets_Received_Errors":0,"Packets_Received_persec":0,"Packets_Sent_persec":0},"name":"win_net","tags":{"host":"KABINEHB2","instance":"6TO4 Adapter","objectname":"Network Interface"},"timestamp":1563886732}
{"fields":{"Current_Disk_Queue_Length":0,"Disk_Read_Bytes_persec":0,"Disk_Reads_persec":0,"Disk_Write_Bytes_persec":0,"Disk_Writes_persec":0,"Percent_Disk_Read_Time":0,"Percent_Disk_Time":0,"Percent_Disk_Write_Time":0},"name":"win_diskio","tags":{"host":"KABINEHB2","instance":"0 C: D:","objectname":"PhysicalDisk"},"timestamp":1563886732}
{"fields":{"Percent_DPC_Time":0,"Percent_Idle_Time":94.68717193603516,"Percent_Interrupt_Time":0,"Percent_Privileged_Time":0,"Percent_Processor_Time":6.865074634552002,"Percent_User_Time":6.2089948654174805},"name":"win_cpu","tags":{"host":"KABINEHB2","instance":"1","objectname":"Processor"},"timestamp":1563886732}
{"fields":{"Bytes_Received_persec":0,"Bytes_Sent_persec":0,"Packets_Outbound_Discarded":0,"Packets_Outbound_Errors":0,"Packets_Received_Discarded":0,"Packets_Received_Errors":0,"Packets_Received_persec":0,"Packets_Sent_persec":0},"name":"win_net","tags":{"host":"KABINEHB2","instance":"isatap.{F096F5A0-2AF0-4366-BBF8-E8033E0FA027}","objectname":"Network Interface"},"timestamp":1563886732}
{"fields":{"Bytes_Received_persec":0,"Bytes_Sent_persec":0,"Packets_Outbound_Discarded":0,"Packets_Outbound_Errors":0,"Packets_Received_Discarded":0,"Packets_Received_Errors":0,"Packets_Received_persec":0,"Packets_Sent_persec":0},"name":"win_net","tags":{"host":"KABINEHB2","instance":"isatap.{27926CAE-D3D3-4704-B3D2-055529E6C645}","objectname":"Network Interface"},"timestamp":1563886732}
{"fields":{"Bytes_Received_persec":0,"Bytes_Sent_persec":378.26031494140625,"Packets_Outbound_Discarded":0,"Packets_Outbound_Errors":0,"Packets_Received_Discarded":0,"Packets_Received_Errors":0,"Packets_Received_persec":0,"Packets_Sent_persec":2.9862656593322754},"name":"win_net","tags":{"host":"KABINEHB2","instance":"Realtek USB GbE Family Controller","objectname":"Network Interface"},"timestamp":1563886732}
{"fields":{"Current_Disk_Queue_Length":0,"Free_Megabytes":4764,"Percent_Disk_Read_Time":0,"Percent_Disk_Time":0,"Percent_Disk_Write_Time":0,"Percent_Free_Space":1.990972876548767,"Percent_Idle_Time":100.10945129394531},"name":"win_disk","tags":{"host":"KABINEHB2","instance":"C:","objectname":"LogicalDisk"},"timestamp":1563886732}
{"fields":{"Percent_DPC_Time":0,"Percent_Idle_Time":98.95586395263672,"Percent_Interrupt_Time":0,"Percent_Privileged_Time":0,"Percent_Processor_Time":1.8202686309814453,"Percent_User_Time":1.9403184652328491},"name":"win_cpu","tags":{"host":"KABINEHB2","instance":"_Total","objectname":"Processor"},"timestamp":1563886732}
{"fields":{"Percent_DPC_Time":0,"Percent_Idle_Time":100.89617156982422,"Percent_Interrupt_Time":0,"Percent_Privileged_Time":0,"Percent_Processor_Time":0.6560795903205872,"Percent_User_Time":0},"name":"win_cpu","tags":{"host":"KABINEHB2","instance":"2","objectname":"Processor"},"timestamp":1563886732}
{"fields":{"Context_Switches_persec":11373.6904296875,"Processor_Queue_Length":0,"System_Calls_persec":12204.8671875,"System_Up_Time":5037.041015625},"name":"win_system","tags":{"host":"KABINEHB2","objectname":"System"},"timestamp":1563886732}

So it is still writing to the output file?