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

Community Tip - You can change your system assigned username to something more personal in your community settings. X

How to get Application log in Eclipse Extension

Velkumar
18-Opal

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
supandey
19-Tanzanite
(To:Velkumar)

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
supandey
19-Tanzanite
(To:Velkumar)

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?

Hello @supandey,

 

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

 

Regards,

Velkumar R

supandey
19-Tanzanite
(To:Velkumar)

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

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

 

 

 

 

Top Tags