Get monitoring and log data via rest API
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Get monitoring and log data via rest API
Hi,
Is there any REST API or java sdk provided by ThingWorx to get monitoring and logging data ?
Solved! Go to Solution.
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hopefully this helps
The ServiceDefinitions should show you the parameters available, those you would construct and submit as a JSON in the body.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
You can just call the available services associated with the logs.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
ok let me try and get back to you. Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hey @PaiChung Can you tell me which api to call since there is no GET api to get the service details
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
All of these will be POST types
See for example: <server>/Thingworx/Logs/ApplicationLog/Services/QueryLogEntries
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Can you give a link to the documentation for this API?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Basically works like any other Thingworx service.
You can also use this to see the parameters
<Server>/Thingworx/Logs/ApplicationLog/ServiceDefinitions/QueryLogEntries
or start from here and drill in <server>/Thingworx/Logs/ (this is a regular GET)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
what should be the request body for <Server>/Thingworx/Logs/ApplicationLog/ServiceDefinitions/QueryLogEntries since it is a POST api
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hopefully this helps
The ServiceDefinitions should show you the parameters available, those you would construct and submit as a JSON in the body.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Thanks!!
Will try and get back to you
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
