Showing results for 
Search instead for 
Did you mean: 

Change subscription publish interval

Change subscription publish interval

New Contributor


I am trying to send values every 100ms to InfluxDB. For that, I am using Telegraf and there I have configured a 100ms publishinterval and a 100ms samplinginterval. Data is generated with a PLC program every 100ms. Unfortunately, when I try to read the values in the Data explorer in Telegraf there are only values every 1s. I have checked the global subscription settings and it is configured with the minimum default 100000 μs setting and 100ms PublishInterval. I have also tried to send data every 200ms just to make sure that it is not a limit problem, but it continues to update every 1s.

Global subscription settings

I have the feeling that because Telegraf is reading the values from the Datalayer and the Datalayer updates every 1s, it is not able to read the values that are between. I have checked the ctrlX CORE documentation and there I do not find how to change the subscription properties and I only find that it is possible to change Global settings. Furthermore, when I check the subscription node of the variable I want to read, I see that the configuration is "publishInterval: 1000", but as it is a "read-only" property I can not change it. 

Client subscription

I hope there is a way to change this setting as it would be interesting to store data at ms level in influxDB.

Thank you very much in advance.

Best regards,




Community Moderator
Community Moderator

Your client needs to tell the subscription how fast it should be. Otherwise the standard is used.


Alternatively you could create you own subscription with other standard settings. For more information see our online documentation.

Hi all,

the problem was in InfluxDB.

  • Everything was well configured as the subscription settings were the following:

Publish and sampling interval check in Data Layer

This configuration can be performed from the Telegraf app establishing a publish_interval = "100ms" and a sampling_interval = "100ms".

  • On the other hand, from InfluxDB the problem was that the window period was set up in "Auto" and even reading Raw data it was not possible to read each value every 100ms. For that, it is required to change to "Custom" and establish the "Window period" to 100ms and all the values will appear in the table without any "jump" between values.

InfluxDB configuration to visualize data at ms level