I went through this but didn't found a proper way out. I am trying to achieve without data connect module.
Is there any alternate of writing custom service to generate csv and push that data
Do we have any example of how to use the ThingWorx Analytics Extension directly from mashup to read thing values as you mentioned .
The ThingWorx Analytics extension cannot read Thing values directly from ThingWorx.
It can only read a csv file.
What I indicated in the other post was to use the extension to load the csv within the mashup if using ThingWorx Analytics Builder was not convenient (we can imagine automating the csv load within a mashup).
There is no other way to send data to ThingWorx Analytics Server, it does require a csv file.
The easier solution to use Dataconnect, does in fact create a csv file behind the scene and send it to ThingWorx Analytics Server.
If you cannot use DataConnect, you need to find a way to extract your data into a csv file.
This post, Re: Exporting Data Question, has got some hint that may help you on this.