cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - You can subscribe to a forum, label or individual post and receive email notifications when someone posts a new topic or reply. Learn more! X

save thing's properties as influxDb tag

Zar
3-Newcomer
3-Newcomer

save thing's properties as influxDb tag

Hi Everyone,

 

I use influxdb to save thing's proprierties as time series data.

There is a way to store a property ad a "influxdb tag"?

 

Why I need this?

Example:

I have three properties: productionId, temperature, humidity

I want to query the database to retrieve the temperature and humidity where productionId is equals to a specific Id.

 

I don't know if I explained it clearly but I hope you'll help me.

2 REPLIES 2
slangley
23-Emerald II
(To:Zar)

Hi @Zar.

 

We're not totally clear on what you're asking.  Are you actually using influxdb as a persistent provider defined in ThingWorx?  If so, have you tried querying the history for the specific device?

 

If this doesn't lead you to a solution, please provide more information regarding your use case.

 

Regards.

 

--Sharon

dwie
8-Gravel
(To:Zar)

I've done this recently. 

You cannot use Stream or Value Stream for using Influx Tag.

You can use influx api to insert data with Influx Tag.  https://docs.influxdata.com/influxdb/v1.8/guides/write_data/

 

Then you can query data with group by productionId. 

Announcements


Top Tags