This issue has been initially posted on github telegraf issues several days ago, got no reply yet. So I repost it here.
link to github issue: https://github.com/influxdata/telegraf/issues/1668 Details: ## Bug report When using prostat plugin with pattern matching, if it matches multi pids, multi data points are generated with **identical tags and timestamp**. when these points are sent to influxdb, only the last point was stored correctly, former points will be overwritten repeatedly. This will result in only one pid's data will be found in the database, instead of one point per pid. ### Relevant telegraf.conf: [[input:procstat]] # Use pattern matching pattern = "ANY PATTERN MATCHING MULTI PIDS" ### System info: telegraf-1.0.0-beta3_linux_amd64 ### Steps to reproduce: 1. Use prostat input's pattern matching method, match multi pids. 2. Produce to influxdb output ### Expected behavior: One data point per pid will be written to database. ### Actual behavior: Only the last pid data point can be found, others got overwritten. ### Additional info: - [Influxdb Issue on data rewritten](https://github.com/influxdata/influxdb/issues/1920) --- Looking forward to your replay, thank you. -- Remember to include the InfluxDB version number with all issue reports --- You received this message because you are subscribed to the Google Groups "InfluxDB" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/influxdb. To view this discussion on the web visit https://groups.google.com/d/msgid/influxdb/855001cf-f028-4e95-996f-07c4de82e0d3%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
