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

Community Tip - Learn all about PTC Community Badges. Engage with PTC and see how many you can earn! X

How to read and write values from Influx DB through ThingWorx

ajithv
5-Regular Member

How to read and write values from Influx DB through ThingWorx

Hi

How to read and write values from Influx DB through thingworx.

 

Thanks in Advance

5 REPLIES 5
mgoel
17-Peridot
(To:ajithv)

@ajithv Thanks for reaching out to us.

 

Did you check this information: Link

Once you set up influx db with DB scripts provided include in ThingWorx and set Persistence provider as Influx DB, you can use this db for all your operations.

Let me know in case of any question.

 

Regards,

Mohit

ajithv
5-Regular Member
(To:mgoel)

Hi,

I have followed all the steps mentioned on that link and its working .But My requirement is to write values into Influx database through thingworx.

 

Thanks in Advance

mgoel
17-Peridot
(To:ajithv)

@ajithv 

 

What is your default persistent provider here. If default is Influx then whatever data you are persisting that should be save in Influx only.

 

Write data you mean by whatever data you are receiving on thing property and that property is persistence then it will save on DB. Right? Or you want to write data in some other way. 

ajithv
5-Regular Member
(To:mgoel)

@mgoel 

I am using influx as persistent provider

I got the sollution to view the values written on thing properties.

I am using Command Line interface to view the values in stored in influx db .

Is there any way to host influx as service to view the values stored?

Like SQL can we write a querry for influx in thingworx using thing?

mgoel
17-Peridot
(To:ajithv)

@ajithv 

 

Can you please check if below thread is helpful:

Link

 

Regards,

Mohit

Announcements


Top Tags