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

How to get Application log in Eclipse Extension

SOLVED
Pearl

How to get Application log in Eclipse Extension

Hello all,

 

How to get application log in eclipse extension ?

 

Regards,

Velkumar R

1 ACCEPTED SOLUTION

Accepted Solutions

Re: How to get Application log in Eclipse Extension

You can query the Logs entity, <ThingWorxServerName:portNumber>/Thingworx/Logs, e.g. there is default function like :

 

http://localhost:8080/Thingworx/Logs/ApplicationLog/ServiceDefinitions/GetLogEntries

 

or

 

http://localhost:8080/Thingworx/Logs/ApplicationLog/ServiceDefinitions/QueryLogEntries

 

16-07-2018 16-33-51.jpg

View solution in original post

4 REPLIES 4

Re: How to get Application log in Eclipse Extension

Hi @Velkumar as far as I see we don't have something like Logs["ApplicationLog"].GetLogEntries(params) in the Extension SDK

 

Could you comment a bit what exactly is your use case?

Re: How to get Application log in Eclipse Extension

Hello @supandey,

 

We want to read Thingworx Application log and convert into infotable using extension.

 

Regards,

Velkumar R

Re: How to get Application log in Eclipse Extension

You can query the Logs entity, <ThingWorxServerName:portNumber>/Thingworx/Logs, e.g. there is default function like :

 

http://localhost:8080/Thingworx/Logs/ApplicationLog/ServiceDefinitions/GetLogEntries

 

or

 

http://localhost:8080/Thingworx/Logs/ApplicationLog/ServiceDefinitions/QueryLogEntries

 

16-07-2018 16-33-51.jpg

View solution in original post

Re: How to get Application log in Eclipse Extension

Hello @supandey,

 

Thanks for your reply.

 

This link returning definition of the service, but when try below link it returning application log

http://localhost/Thingworx/Logs/ApplicationLog/Services/QueryLogEntries

 

Regards,

Velkumar R

 

 

 

 

Announcements

Thingworx Navigate content has a new home! Click here to access the new Thingworx Navigate forum! ______________________________