Log Insight API calls Appendix

This is not a too lengthy blog post. It basically a copy/paste of routes file which is part of the Log Insight API. I have include both the 3.3 and 3.6 version, for comparisons. This is only meant as an educational blog post. It will give you an idea to what is possible with the Log Insight API, not just query wish, but also management wish. In order to make this work you have to follow the general guidelines for the Log Insight API and how to connect to it. As I haven’t done a Log Insight API blog post yet. I will leave you with a link to Steve Flanders blog on how to use the Log Insight Query API. http://sflanders.net/2016/04/20/log-insight-3-3-query-api/

This is as the title suggest just a way to get an overview of the possible API calls. Hope this will have some one. Good day.

Log Insight version 3.6 API calls



This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters


# Routes
# This file defines all application routes (Higher priority routes first)
# ~~~~
# Agent config API
PUT /api/v1/agent/config controllers.agents.AgentConfigController.set()
GET /api/v1/agent/config/:agentId controllers.agents.AgentConfigController.get(agentId :String, hash :String ?= "")
# Agent status API
PUT /api/v1/agent/status/:agentId controllers.agents.AgentStatusController.set(agentId :String)
GET /api/v1/agent/status/:agentId controllers.agents.AgentStatusController.get(agentId :String)
# Agents management API
GET /api/v1/agent controllers.agents.AgentsController.getAgentsList()
POST /api/v1/agent/search controllers.agents.AgentsController.searchAgents()
GET /api/v1/agent/groups controllers.agents.AgentsController.getAgentGroups()
POST /api/v1/agent/groups controllers.agents.AgentsController.addAgentsGroup()
PUT /api/v1/agent/groups/:groupName controllers.agents.AgentsController.upsertAgentsGroup(groupName :String)
DELETE /api/v1/agent/groups/:groupName controllers.agents.AgentsController.deleteAgentsGroup(groupName :String, cpNameSpace :String = "")
DELETE /api/v1/agent/groups/:cpNameSpace/:groupName controllers.agents.AgentsController.deleteAgentsGroup(groupName :String, cpNameSpace :String)
# Event ingestion & simple query API
POST /api/v1/events/ingest/:agentId controllers.events.EventsController.ingest(agentId :String)
PUT /api/v1/events/flush/:agentId controllers.events.EventsController.flush(agentId :String)
GET /api/v1/events controllers.events.EventsController.simpleQueryEvents(path :String ?= "")
GET /api/v1/events/ controllers.events.EventsController.simpleQueryEvents(path :String ?= "")
GET /api/v1/events/*path controllers.events.EventsController.simpleQueryEvents(path :String)
GET /api/v1/aggregated-events controllers.events.EventsController.simpleQueryAggregatedEvents(path :String ?= "")
GET /api/v1/aggregated-events/ controllers.events.EventsController.simpleQueryAggregatedEvents(path :String ?= "")
GET /api/v1/aggregated-events/*path controllers.events.EventsController.simpleQueryAggregatedEvents(path :String)
# DEPRECATED — But retain indefinitely for legacy agents!
POST /api/v1/messages/ingest/:agentId controllers.events.EventsController.ingestLegacy(agentId :String)
PUT /api/v1/messages/flush/:agentId controllers.events.EventsController.flushLegacy(agentId :String)
# Query API
POST /api/v1/queries controllers.QueriesController.query()
GET /api/v1/queries controllers.QueriesController.listQueries()
GET /api/v1/queries/:routing_token controllers.QueriesController.getMoreResults(routing_token :String, timeout :Long ?= 1000)
DELETE /api/v1/queries/:request_token controllers.QueriesController.cancelQuery(request_token :String)
GET /api/v1/queries/token/new controllers.QueriesController.generateQueryToken()
GET /api/v1/queries/all/timerange controllers.QueriesController.getTimeRange()
# Compare Query API
POST /api/v1/queries/compare controllers.QueriesController.compare()
GET /api/v1/queries/compare/token controllers.QueriesController.generateCompareCancelToken()
# TODO remove POST when we have the no caching annoation
POST /api/v1/queries/compare/token controllers.QueriesController.generateCompareCancelToken()
DELETE /api/v1/queries/compare/:cancel_token controllers.QueriesController.cancelCompareQuery(cancel_token :String)
# RBAC API
GET /api/v1/users controllers.UsersController.getAll(includeExtendedData :Boolean ?= false)
POST /api/v1/users controllers.UsersController.createUser()
GET /api/v1/users/:userId controllers.UsersController.getUser(userId :java.util.UUID, includeExtendedData :Boolean ?= false)
DELETE /api/v1/users/:userId controllers.UsersController.deleteUser(userId :java.util.UUID)
POST /api/v1/users/:userId controllers.UsersController.updateUser(userId :java.util.UUID)
PATCH /api/v1/users/:userId controllers.UsersController.updateUser(userId :java.util.UUID)
GET /api/v1/users/:userId/capabilities controllers.UsersController.getCapabilities(userId :java.util.UUID)
GET /api/v1/users/:userId/capabilities/:capability controllers.UsersController.checkCapability(userId :java.util.UUID, capability :String)
POST /api/v1/users/:userId/capabilities controllers.UsersController.updateCapabilities(userId :java.util.UUID)
PATCH /api/v1/users/:userId/capabilities controllers.UsersController.updateCapabilities(userId :java.util.UUID)
PUT /api/v1/users/:userId/capabilities controllers.UsersController.setCapabilities(userId :java.util.UUID)
GET /api/v1/users/:userId/groups controllers.UsersController.getGroups(userId :java.util.UUID)
POST /api/v1/users/:userId/groups controllers.UsersController.updateGroups(userId :java.util.UUID)
PATCH /api/v1/users/:userId/groups controllers.UsersController.updateGroups(userId :java.util.UUID)
PUT /api/v1/users/:userId/groups controllers.UsersController.setGroups(userId :java.util.UUID)
GET /api/v1/users/:userId/datasets controllers.UsersController.getDataSets(userId :java.util.UUID)
POST /api/v1/users/:userId/datasets controllers.UsersController.updateDataSets(userId :java.util.UUID)
PATCH /api/v1/users/:userId/datasets controllers.UsersController.updateDataSets(userId :java.util.UUID)
PUT /api/v1/users/:userId/datasets controllers.UsersController.setDataSets(userId :java.util.UUID)
GET /api/v1/groups controllers.GroupsController.getAll(includeDataSets :Boolean ?= false)
POST /api/v1/groups controllers.GroupsController.createGroup()
GET /api/v1/groups/:groupId controllers.GroupsController.getGroup(groupId :java.util.UUID, includeDataSets :Boolean ?= false)
POST /api/v1/groups/:groupId controllers.GroupsController.updateGroup(groupId :java.util.UUID, includeDisplayMeta :Boolean ?= false)
PATCH /api/v1/groups/:groupId controllers.GroupsController.updateGroup(groupId :java.util.UUID, includeDisplayMeta :Boolean ?= false)
DELETE /api/v1/groups/:groupId controllers.GroupsController.deleteGroup(groupId :java.util.UUID)
GET /api/v1/groups/:groupId/users controllers.GroupsController.getUsers(groupId :java.util.UUID)
POST /api/v1/groups/:groupId/users controllers.GroupsController.updateUsers(groupId :java.util.UUID)
PATCH /api/v1/groups/:groupId/users controllers.GroupsController.updateUsers(groupId :java.util.UUID)
GET /api/v1/groups/:groupId/adgroups controllers.GroupsController.getAdGroups(groupId :java.util.UUID)
POST /api/v1/groups/:groupId/adgroups controllers.GroupsController.updateAdGroups(groupId :java.util.UUID)
PATCH /api/v1/groups/:groupId/adgroups controllers.GroupsController.updateAdGroups(groupId :java.util.UUID)
GET /api/v1/groups/:groupId/capabilities controllers.GroupsController.getCapabilities(groupId :java.util.UUID)
PUT /api/v1/groups/:groupId/capabilities controllers.GroupsController.setCapabilities(groupId :java.util.UUID)
POST /api/v1/groups/:groupId/capabilities controllers.GroupsController.updateCapabilities(groupId :java.util.UUID)
PATCH /api/v1/groups/:groupId/capabilities controllers.GroupsController.updateCapabilities(groupId :java.util.UUID)
GET /api/v1/groups/:groupId/datasets controllers.GroupsController.getDataSets(groupId :java.util.UUID)
PUT /api/v1/groups/:groupId/datasets controllers.GroupsController.setDataSets(groupId :java.util.UUID)
POST /api/v1/groups/:groupId/datasets controllers.GroupsController.updateDataSets(groupId :java.util.UUID)
PATCH /api/v1/groups/:groupId/datasets controllers.GroupsController.updateDataSets(groupId :java.util.UUID)
GET /api/v1/adgroups controllers.DirectoryGroupsController.getAll(includeDataSets :Boolean ?= false)
POST /api/v1/adgroups controllers.DirectoryGroupsController.addAdGroup()
GET /api/v1/adgroups/:type/:domain/:name controllers.DirectoryGroupsController.getAdGroup(type :String, domain :String, name :String, includeDataSets :Boolean ?= false)
POST /api/v1/adgroups/:type/:domain/:name controllers.DirectoryGroupsController.updateAdGroup(type :String, domain :String, name :String)
PATCH /api/v1/adgroups/:type/:domain/:name controllers.DirectoryGroupsController.updateAdGroup(type :String, domain :String, name :String)
DELETE /api/v1/adgroups/:type/:domain/:name controllers.DirectoryGroupsController.deleteAdGroup(type :String, domain :String, name :String)
GET /api/v1/adgroups/:type/:domain/:name/capabilities controllers.DirectoryGroupsController.getCapabilities(type :String, domain :String, name :String)
POST /api/v1/adgroups/:type/:domain/:name/capabilities controllers.DirectoryGroupsController.updateCapabilities(type :String, domain :String, name :String)
PATCH /api/v1/adgroups/:type/:domain/:name/capabilities controllers.DirectoryGroupsController.updateCapabilities(type :String, domain :String, name :String)
PUT /api/v1/adgroups/:type/:domain/:name/capabilities controllers.DirectoryGroupsController.setCapabilities(type :String, domain :String, name :String)
GET /api/v1/adgroups/:type/:domain/:name/groups controllers.DirectoryGroupsController.getGroups(type :String, domain :String, name :String)
POST /api/v1/adgroups/:type/:domain/:name/groups controllers.DirectoryGroupsController.updateGroups(type :String, domain :String, name :String)
PATCH /api/v1/adgroups/:type/:domain/:name/groups controllers.DirectoryGroupsController.updateGroups(type :String, domain :String, name :String)
PUT /api/v1/adgroups/:type/:domain/:name/groups controllers.DirectoryGroupsController.setGroups(type :String, domain :String, name :String)
GET /api/v1/adgroups/:type/:domain/:name/datasets controllers.DirectoryGroupsController.getDataSets(type :String, domain :String, name :String)
POST /api/v1/adgroups/:type/:domain/:name/datasets controllers.DirectoryGroupsController.updateDataSets(type :String, domain :String, name :String)
PATCH /api/v1/adgroups/:type/:domain/:name/datasets controllers.DirectoryGroupsController.updateDataSets(type :String, domain :String, name :String)
PUT /api/v1/adgroups/:type/:domain/:name/datasets controllers.DirectoryGroupsController.setDataSets(type :String, domain :String, name :String)
GET /api/v1/datasets controllers.DataSetsController.getAll(includeDisplayMeta :Boolean ?= false)
POST /api/v1/datasets controllers.DataSetsController.createDataSet(includeDisplayMeta :Boolean ?= false)
GET /api/v1/datasets/:dataSetId controllers.DataSetsController.getDataSet(dataSetId :java.util.UUID, includeDisplayMeta :Boolean ?= false)
POST /api/v1/datasets/:dataSetId controllers.DataSetsController.updateDataSet(dataSetId :java.util.UUID, includeDisplayMeta :Boolean ?= false)
PATCH /api/v1/datasets/:dataSetId controllers.DataSetsController.updateDataSet(dataSetId :java.util.UUID, includeDisplayMeta :Boolean ?= false)
DELETE /api/v1/datasets/:dataSetId controllers.DataSetsController.deleteDataSet(dataSetId :java.util.UUID)
# AUTHENTICATION
POST /api/v1/sessions controllers.AuthenticationController.authenticate()
GET /api/v1/sessions controllers.AuthenticationController.status()
# INVENTORY
GET /api/v1/inventory/sources controllers.InventoryController.getSources()
POST /api/v1/inventory/source controllers.InventoryController.newSource()
GET /api/v1/inventory/source/:sourceId controllers.InventoryController.getSource(sourceId :String)
POST /api/v1/inventory/source/:sourceId controllers.InventoryController.updateSource(sourceId :String)
PATCH /api/v1/inventory/source/:sourceId controllers.InventoryController.updateSource(sourceId :String)
DELETE /api/v1/inventory/source/:sourceId controllers.InventoryController.removeSource(sourceId :String)
GET /api/v1/inventory/clients controllers.InventoryController.getClients()
GET /api/v1/inventory/items/:clientId controllers.InventoryController.getClientItems(clientId :String)
GET /api/v1/inventory/item/:clientId/:sourceId controllers.InventoryController.getClientItem(clientId :String, sourceId :String)
POST /api/v1/inventory/item/:clientId/:sourceId controllers.InventoryController.updateClientItem(clientId :String, sourceId :String)
PATCH /api/v1/inventory/item/:clientId/:sourceId controllers.InventoryController.updateClientItem(clientId :String, sourceId :String)
DELETE /api/v1/inventory/item/:clientId/:sourceId controllers.InventoryController.removeClientItem(clientId :String, sourceId :String)
GET /api/v1/inventory/settings controllers.InventoryController.getSettings()
POST /api/v1/inventory/settings controllers.InventoryController.changeSettings()
PATCH /api/v1/inventory/settings controllers.InventoryController.changeSettings()
GET /api/v1/inventory/lookup/:hostname controllers.InventoryController.lookupHostname(hostname :String)
# CONFIGURATION
PUT /api/v1/config controllers.ConfigController.setConfig(validate :Boolean ?= true)
GET /api/v1/config controllers.ConfigController.getConfig(defaults :Boolean ?= false)
GET /api/v1/config/data controllers.ConfigController.exportConfig()
POST /api/v1/config/data controllers.ConfigController.importConfig()
# CONTENT PACK
GET /api/v1/contentpacks controllers.ContentPacksController.getContentPacks()
POST /api/v1/contentpacks controllers.ContentPacksController.installContentPack(overwrite :Boolean ?= false)
GET /api/v1/contentpacks/:contentPackNamespace controllers.ContentPacksController.getContentPack(contentPackNamespace :String)
DELETE /api/v1/contentpacks/:contentPackNamespace controllers.ContentPacksController.deleteContentPack(contentPackNamespace :String)
# VROPS MANAGEMENT PACK ENHANCED ALERT PACKS
GET /api/v1/vropspacks controllers.VropsPacksController.getVropsPacks()
POST /api/v1/vropspacks controllers.VropsPacksController.installVropsPack(overwrite :Boolean ?= false, installAlerts :Boolean ?= false)
GET /api/v1/vropspacks/:vropsPackNamespace controllers.VropsPacksController.getVropsPack(vropsPackNamespace :String)
DELETE /api/v1/vropspacks/:vropsPackNamespace controllers.VropsPacksController.deleteVropsPack(vropsPackNamespace :String, removeAlerts :Boolean ?= false)
# Stats API
# increment and decrement a counter
PATCH /api/v1/stats/groups/:statGroup/types/:statType/names/:statName controllers.StatsController.updateCounter(statGroup :String, statType :String, statName :String)
# mark meters and update histograms
POST /api/v1/stats/groups/:statGroup/types/:statType/names/:statName/events controllers.StatsController.updateMeterOrHistogram(statGroup :String, statType :String, statName :String)
# MARKETPLACE
GET /api/v1/marketplace/index controllers.MarketplaceController.getIndex()
POST /api/v1/marketplace/index controllers.MarketplaceController.postIndex()
# LICENSE
GET /api/v1/licenses controllers.LicenseController.showLicenseState()
POST /api/v1/licenses controllers.LicenseController.addLicenseKey()
DELETE /api/v1/licenses/:licenseId controllers.LicenseController.deleteLicenseKey(licenseId :java.util.UUID)
# SSL CONFIGURATION
PUT /api/v1/ssl/force controllers.SslController.setSslOnly()
# vSphere API
GET /api/v1/vsphere controllers.VSphereController.getCredentials()
GET /api/v1/vsphere/:hostname controllers.VSphereController.getCredential(hostname :String)
POST /api/v1/vsphere controllers.VSphereController.addCredential()
PUT /api/v1/vsphere/:hostname controllers.VSphereController.upsertCredential(hostname :String)
PATCH /api/v1/vsphere/:hostname controllers.VSphereController.upsertCredential(hostname :String)
DELETE /api/v1/vsphere/:hostname controllers.VSphereController.deleteCredential(hostname :String)
POST /api/v1/vsphere/:hostname/hosts controllers.VSphereController.updateHosts(hostname :String)
PATCH /api/v1/vsphere/:hostname/hosts controllers.VSphereController.updateHosts(hostname :String)
GET /api/v1/vsphere/:hostname/hosts controllers.VSphereController.getHosts(hostname :String)
GET /api/v1/vsphere/:vSphereHostname/hosts/:esxiHost controllers.VSphereController.getHost(vSphereHostname :String, esxiHost :String)
POST /api/v1/vsphere/:vSphereHostname/hosts/:esxiHost controllers.VSphereController.updateHost(vSphereHostname :String, esxiHost :String)
PATCH /api/v1/vsphere/:vSphereHostname/hosts/:esxiHost controllers.VSphereController.updateHost(vSphereHostname :String, esxiHost :String)
POST /api/v1/vsphere/testconnection controllers.VSphereController.testVsphereConnection()
# vRops API
GET /api/v1/vrops controllers.VRopsController.getCredentials()
GET /api/v1/vrops/:hostname controllers.VRopsController.getCredential(hostname :String)
POST /api/v1/vrops controllers.VRopsController.addCredential()
PUT /api/v1/vrops/:hostname controllers.VRopsController.upsertCredential(hostname :String)
DELETE /api/v1/vrops/:hostname controllers.VRopsController.deleteCredential(hostname :String)
POST /api/v1/vrops/testconnection controllers.VRopsController.testConnection()
POST /api/v1/vrops/:hostname controllers.VRopsController.setLaunchInContext(hostname :String)
# HOSTS
POST /api/v1/hosts controllers.HostsController.loadHosts()
# Interactive Analytics Snapshots
GET /api/v1/users/self/snapshots controllers.SnapshotsController.getSnapshots()
GET /api/v1/users/:userId/snapshots controllers.SnapshotsController.getSnapshotsForUser(userId :java.util.UUID)
POST /api/v1/users/self/snapshots controllers.SnapshotsController.createSnapshot()
POST /api/v1/users/:userId/snapshots controllers.SnapshotsController.createSnapshotForUser(userId :java.util.UUID)
PATCH /api/v1/users/self/snapshots/:snapshotId controllers.SnapshotsController.updateSnapshot(snapshotId :java.util.UUID)
PATCH /api/v1/users/:userId/snapshots/:snapshotId controllers.SnapshotsController.updateSnapshotForUser(userId :java.util.UUID, snapshotId :java.util.UUID)
DELETE /api/v1/users/self/snapshots controllers.SnapshotsController.deleteAllSnapshots()
DELETE /api/v1/users/:userId/snapshots controllers.SnapshotsController.deleteAllSnapshotsForUser(userId :java.util.UUID)
DELETE /api/v1/users/self/snapshots/:snapshotId controllers.SnapshotsController.deleteSnapshot(snapshotId :java.util.UUID)
DELETE /api/v1/users/:userId/snapshots/:snapshotId controllers.SnapshotsController.deleteSnapshotForUser(userId :java.util.UUID, snapshotId :java.util.UUID)
PUT /api/v1/users/self/snapshots/:snapshotId/position controllers.SnapshotsController.updateSnapshotPosition(snapshotId :java.util.UUID)
PUT /api/v1/users/:userId/snapshots/:snapshotId/position controllers.SnapshotsController.updateSnapshotPositionForUser(userId :java.util.UUID, snapshotId :java.util.UUID)
# SUPPORT BUNDLE
POST /api/v1/appliance/support-bundles controllers.SupportBundleController.newBundle()
GET /api/v1/appliance/support-bundles/:id controllers.SupportBundleController.getBundle(id :String, timeout :Long ?= 60)
DELETE /api/v1/appliance/support-bundles/:id controllers.SupportBundleController.deleteBundle(id :String)
# SMTP Config
GET /api/v1/notifications controllers.NotificationsController.getConfig()
PUT /api/v1/notifications controllers.NotificationsController.updateConfig()
# FOR INTERNAL USE. GET RESPONSE ERROR BY PROVIDING ERROR TYPE
GET /api/v1/internal/force-error/:errorType controllers.InternalController.forceError(errorType :String)
GET /api/v1/internal/force-error-auth/:errorType controllers.InternalController.forceErrorAuthenticated(errorType :String)
GET /api/v1/internal/ping controllers.InternalController.ping()
POST /api/v1/internal/cluster/action controllers.InternalClusterController.action()
POST /api/v1/internal/agent/autoupdate controllers.agents.AgentAutoUpdateController.enableAutoUpdate()
GET /api/v1/internal/agent/autoupdate controllers.agents.AgentAutoUpdateController.isAutoUpdateEnabled()
# AD Configuration
GET /api/v1/ad/config controllers.ADConfigurationController.getAD()
POST /api/v1/ad/config controllers.ADConfigurationController.configAD()
POST /api/v1/ad/test controllers.ADConfigurationController.testAD()
# Initial deployment/setup
POST /api/v1/deployment/new controllers.LIDeploymentController.newDeployment()
POST /api/v1/deployment/join controllers.LIDeploymentController.joinDeployment()
POST /api/v1/deployment/approve controllers.LIDeploymentController.approveDeployment()
# LI version
GET /api/v1/version controllers.VersionController.get()
# Agent Packages API
GET /api/v1/agent/packages/info/:packageType controllers.agents.AgentPackagesController.getInfo(packageType :String, version :String ?= "", osBitness :Integer ?= 32)
GET /api/v1/agent/packages/files/:fileName controllers.agents.AgentPackagesController.downloadByName(fileName :String)
GET /api/v1/agent/packages/types/:packageType controllers.agents.AgentPackagesController.downloadByType(packageType :String, osBitness :Integer ?= 32)
POST /api/v1/agent/packages controllers.agents.AgentPackagesController.upload()
DELETE /api/v1/agent/packages/files/:fileName controllers.agents.AgentPackagesController.deleteByName(fileName :String)
# Archiving Configuration API
GET /api/v1/archiving/config controllers.ArchivingConfigurationController.get()
POST /api/v1/archiving/config controllers.ArchivingConfigurationController.set()
POST /api/v1/archiving/test controllers.ArchivingConfigurationController.test()
# Upgrade
POST /api/v1/upgrades controllers.UpgradeController.initializeUpgrade()
GET /api/v1/upgrades controllers.UpgradeController.version()
GET /api/v1/upgrades/local controllers.UpgradeController.localVersion()
PUT /api/v1/upgrades/:version/eula controllers.UpgradeController.acceptEula(version :String)
PUT /api/v1/upgrades/:version/nodes/:node controllers.UpgradeController.setNodeStatus(version :String, node :String)
GET /api/v1/upgrades/:version controllers.UpgradeController.getUpgradeStatus(version :String)
GET /api/v1/upgrades/:version/nodes/:node controllers.UpgradeController.getNodeStatus(version :String, node :String)
GET /api/v1/upgrades/:version/verified controllers.UpgradeController.verify(version :String)
POST /api/v1/upgrades/:version/snapshot controllers.UpgradeController.createSnapshot(version :String)
GET /api/v1/upgrades/:version/snapshot controllers.UpgradeController.getSnapshotStatus(version :String, unvalidated :Boolean ?= false)
POST /api/v1/upgrades/:version/snapshot/local controllers.UpgradeController.createLocalSnapshot(version :String)
GET /api/v1/upgrades/:version/snapshot/local controllers.UpgradeController.getLocalSnapshotStatus(version :String, unvalidated :Boolean ?= false)
GET /api/v1/upgrades/:version/rollback/services/local controllers.UpgradeController.getLocalServices(version :String)
PATCH /api/v1/upgrades/:version/rollback/services/:service/local controllers.UpgradeController.rollbackService(version :String, service :String)
POST /api/v1/upgrades/:version/rollback/services/:service/local controllers.UpgradeController.rollbackService(version :String, service :String)
POST /api/v1/upgrades/:version/rollback/services controllers.UpgradeController.rollbackServices(version :String)
POST /api/v1/upgrades/:version/rollback controllers.UpgradeController.rollback(version :String)
GET /api/v1/upgrades/:version/rollback controllers.UpgradeController.getRollbackStatus(version :String)
GET /api/v1/upgrades/:version/rollback/local controllers.UpgradeController.getLocalRollbackStatus(version :String)
POST /api/v1/upgrades/:version/rollback/local controllers.UpgradeController.rollbackLocal(version :String)
# Event Forwarder Configuration API
GET /api/v1/forwarding controllers.EventForwarderController.get(forwarderId :String ?= "")
POST /api/v1/forwarding controllers.EventForwarderController.add()
PUT /api/v1/forwarding controllers.EventForwarderController.edit()
DELETE /api/v1/forwarding controllers.EventForwarderController.delete(forwarderId :String)
POST /api/v1/forwarding/test controllers.EventForwarderController.test()
# Short URL support
GET /api/v1/short/:token controllers.ShortUrlController.getUrl(token :String)
POST /api/v1/short controllers.ShortUrlController.shortenUrl()
# Time
GET /api/v1/time controllers.TimeController.getTime()
GET /api/v1/time/config controllers.TimeController.getNTPConfig()
POST /api/v1/time/config controllers.TimeController.setNTPConfig()
POST /api/v1/time/testservers controllers.TimeController.testNTPServers()
# LoadBalancer
GET /api/v1/ilb controllers.LoadBalancerController.getLoadBalancerConfig()
POST /api/v1/ilb controllers.LoadBalancerController.setLoadBalancerConfig()
GET /api/v1/ilb/status controllers.LoadBalancerController.getHaVipStatus()
# Script execution
POST /api/v1/scripts/nodes/local controllers.ScriptsController.executeScript(timeout :Long ?= 60)
POST /api/v1/scripts/nodes/:nodeId controllers.ScriptsController.executeScriptOnNode(nodeId :String, timeout :Long ?= 60)
POST /api/v1/scripts/nodes controllers.ScriptsController.executeScriptClusterWide(nodeTimeout :Long ?= 60)
# in production health/sanity checks
GET /api/v1/diag/checks controllers.InProductionChecksAPIController.getChecks
GET /api/v1/diag/results controllers.InProductionChecksAPIController.getCheckResults
GET /api/v1/diag/results.vcenter.xml controllers.InProductionChecksAPIController.getCheckResultsVcenterCompatible
GET /api/v1/diag/results/summary controllers.InProductionChecksAPIController.getSimpleSummary
# vIDM Configuration
POST /api/v1/vidm/config controllers.VIDMConfigurationController.config()
# Cassandra
GET /api/v1/cassandra/sstables/:table/nodes/local controllers.CassandraController.getSSTables(table :String)
POST /api/v1/cassandra/sstables/:table controllers.CassandraController.loadSSTables(table :String)
# CORS support – keep this as the lowest priority so it can be overridden
OPTIONS /*path controllers.CORSController.preflight(path: String)

Log Insight version 3.3 API calls



This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters


# Routes
# This file defines all application routes (Higher priority routes first)
# ~~~~
# Agent config API
PUT /api/v1/agent/config controllers.agents.AgentConfigController.set()
GET /api/v1/agent/config/:agentId controllers.agents.AgentConfigController.get(agentId :String, hash :String ?= "")
# Agent status API
PUT /api/v1/agent/status/:agentId controllers.agents.AgentStatusController.set(agentId :String)
GET /api/v1/agent/status/:agentId controllers.agents.AgentStatusController.get(agentId :String)
# Agents management API
GET /api/v1/agent controllers.agents.AgentsController.getAgentsList()
POST /api/v1/agent/search controllers.agents.AgentsController.searchAgents()
GET /api/v1/agent/groups controllers.agents.AgentsController.getAgentGroups()
POST /api/v1/agent/groups controllers.agents.AgentsController.addAgentsGroup()
PUT /api/v1/agent/groups/:groupName controllers.agents.AgentsController.upsertAgentsGroup(groupName :String)
DELETE /api/v1/agent/groups/:groupName controllers.agents.AgentsController.deleteAgentsGroup(groupName :String, cpNameSpace :String = "")
DELETE /api/v1/agent/groups/:cpNameSpace/:groupName controllers.agents.AgentsController.deleteAgentsGroup(groupName :String, cpNameSpace :String)
# Event ingestion & simple query API
POST /api/v1/events/ingest/:agentId controllers.events.EventsController.ingest(agentId :String)
PUT /api/v1/events/flush/:agentId controllers.events.EventsController.flush(agentId :String)
GET /api/v1/events controllers.events.EventsController.simpleQueryEvents(path :String ?= "")
GET /api/v1/events/ controllers.events.EventsController.simpleQueryEvents(path :String ?= "")
GET /api/v1/events/*path controllers.events.EventsController.simpleQueryEvents(path :String)
GET /api/v1/aggregated-events controllers.events.EventsController.simpleQueryAggregatedEvents(path :String ?= "")
GET /api/v1/aggregated-events/ controllers.events.EventsController.simpleQueryAggregatedEvents(path :String ?= "")
GET /api/v1/aggregated-events/*path controllers.events.EventsController.simpleQueryAggregatedEvents(path :String)
# DEPRECATED — But retain indefinitely for legacy agents!
POST /api/v1/messages/ingest/:agentId controllers.events.EventsController.ingestLegacy(agentId :String)
PUT /api/v1/messages/flush/:agentId controllers.events.EventsController.flushLegacy(agentId :String)
# Query API
POST /api/v1/queries controllers.QueriesController.query()
GET /api/v1/queries controllers.QueriesController.listQueries()
GET /api/v1/queries/:routing_token controllers.QueriesController.getMoreResults(routing_token :String, timeout :Long ?= 1000)
DELETE /api/v1/queries/:request_token controllers.QueriesController.cancelQuery(request_token :String)
GET /api/v1/queries/token/new controllers.QueriesController.generateQueryToken()
GET /api/v1/queries/all/timerange controllers.QueriesController.getTimeRange()
# Compare Query API
POST /api/v1/queries/compare controllers.QueriesController.compare()
GET /api/v1/queries/compare/token controllers.QueriesController.generateCompareCancelToken()
# TODO remove POST when we have the no caching annoation
POST /api/v1/queries/compare/token controllers.QueriesController.generateCompareCancelToken()
DELETE /api/v1/queries/compare/:cancel_token controllers.QueriesController.cancelCompareQuery(cancel_token :String)
# RBAC API
GET /api/v1/users controllers.UsersController.getAll(includeExtendedData :Boolean ?= false)
POST /api/v1/users controllers.UsersController.createUser()
GET /api/v1/users/:userId controllers.UsersController.getUser(userId :java.util.UUID, includeExtendedData :Boolean ?= false)
DELETE /api/v1/users/:userId controllers.UsersController.deleteUser(userId :java.util.UUID)
POST /api/v1/users/:userId controllers.UsersController.updateUser(userId :java.util.UUID)
PATCH /api/v1/users/:userId controllers.UsersController.updateUser(userId :java.util.UUID)
GET /api/v1/users/:userId/capabilities controllers.UsersController.getCapabilities(userId :java.util.UUID)
GET /api/v1/users/:userId/capabilities/:capability controllers.UsersController.checkCapability(userId :java.util.UUID, capability :String)
POST /api/v1/users/:userId/capabilities controllers.UsersController.updateCapabilities(userId :java.util.UUID)
PATCH /api/v1/users/:userId/capabilities controllers.UsersController.updateCapabilities(userId :java.util.UUID)
PUT /api/v1/users/:userId/capabilities controllers.UsersController.setCapabilities(userId :java.util.UUID)
GET /api/v1/users/:userId/groups controllers.UsersController.getGroups(userId :java.util.UUID)
POST /api/v1/users/:userId/groups controllers.UsersController.updateGroups(userId :java.util.UUID)
PATCH /api/v1/users/:userId/groups controllers.UsersController.updateGroups(userId :java.util.UUID)
PUT /api/v1/users/:userId/groups controllers.UsersController.setGroups(userId :java.util.UUID)
GET /api/v1/users/:userId/datasets controllers.UsersController.getDataSets(userId :java.util.UUID)
POST /api/v1/users/:userId/datasets controllers.UsersController.updateDataSets(userId :java.util.UUID)
PATCH /api/v1/users/:userId/datasets controllers.UsersController.updateDataSets(userId :java.util.UUID)
PUT /api/v1/users/:userId/datasets controllers.UsersController.setDataSets(userId :java.util.UUID)
GET /api/v1/groups controllers.GroupsController.getAll(includeDataSets :Boolean ?= false)
POST /api/v1/groups controllers.GroupsController.createGroup()
GET /api/v1/groups/:groupId controllers.GroupsController.getGroup(groupId :java.util.UUID, includeDataSets :Boolean ?= false)
POST /api/v1/groups/:groupId controllers.GroupsController.updateGroup(groupId :java.util.UUID, includeDisplayMeta :Boolean ?= false)
PATCH /api/v1/groups/:groupId controllers.GroupsController.updateGroup(groupId :java.util.UUID, includeDisplayMeta :Boolean ?= false)
DELETE /api/v1/groups/:groupId controllers.GroupsController.deleteGroup(groupId :java.util.UUID)
GET /api/v1/groups/:groupId/users controllers.GroupsController.getUsers(groupId :java.util.UUID)
POST /api/v1/groups/:groupId/users controllers.GroupsController.updateUsers(groupId :java.util.UUID)
PATCH /api/v1/groups/:groupId/users controllers.GroupsController.updateUsers(groupId :java.util.UUID)
GET /api/v1/groups/:groupId/adgroups controllers.GroupsController.getAdGroups(groupId :java.util.UUID)
POST /api/v1/groups/:groupId/adgroups controllers.GroupsController.updateAdGroups(groupId :java.util.UUID)
PATCH /api/v1/groups/:groupId/adgroups controllers.GroupsController.updateAdGroups(groupId :java.util.UUID)
GET /api/v1/groups/:groupId/capabilities controllers.GroupsController.getCapabilities(groupId :java.util.UUID)
PUT /api/v1/groups/:groupId/capabilities controllers.GroupsController.setCapabilities(groupId :java.util.UUID)
POST /api/v1/groups/:groupId/capabilities controllers.GroupsController.updateCapabilities(groupId :java.util.UUID)
PATCH /api/v1/groups/:groupId/capabilities controllers.GroupsController.updateCapabilities(groupId :java.util.UUID)
GET /api/v1/groups/:groupId/datasets controllers.GroupsController.getDataSets(groupId :java.util.UUID)
PUT /api/v1/groups/:groupId/datasets controllers.GroupsController.setDataSets(groupId :java.util.UUID)
POST /api/v1/groups/:groupId/datasets controllers.GroupsController.updateDataSets(groupId :java.util.UUID)
PATCH /api/v1/groups/:groupId/datasets controllers.GroupsController.updateDataSets(groupId :java.util.UUID)
GET /api/v1/adgroups controllers.DirectoryGroupsController.getAll(includeDataSets :Boolean ?= false)
POST /api/v1/adgroups controllers.DirectoryGroupsController.addAdGroup()
GET /api/v1/adgroups/:type/:domain/:name controllers.DirectoryGroupsController.getAdGroup(type :String, domain :String, name :String, includeDataSets :Boolean ?= false)
POST /api/v1/adgroups/:type/:domain/:name controllers.DirectoryGroupsController.updateAdGroup(type :String, domain :String, name :String)
PATCH /api/v1/adgroups/:type/:domain/:name controllers.DirectoryGroupsController.updateAdGroup(type :String, domain :String, name :String)
DELETE /api/v1/adgroups/:type/:domain/:name controllers.DirectoryGroupsController.deleteAdGroup(type :String, domain :String, name :String)
GET /api/v1/adgroups/:type/:domain/:name/capabilities controllers.DirectoryGroupsController.getCapabilities(type :String, domain :String, name :String)
POST /api/v1/adgroups/:type/:domain/:name/capabilities controllers.DirectoryGroupsController.updateCapabilities(type :String, domain :String, name :String)
PATCH /api/v1/adgroups/:type/:domain/:name/capabilities controllers.DirectoryGroupsController.updateCapabilities(type :String, domain :String, name :String)
PUT /api/v1/adgroups/:type/:domain/:name/capabilities controllers.DirectoryGroupsController.setCapabilities(type :String, domain :String, name :String)
GET /api/v1/adgroups/:type/:domain/:name/groups controllers.DirectoryGroupsController.getGroups(type :String, domain :String, name :String)
POST /api/v1/adgroups/:type/:domain/:name/groups controllers.DirectoryGroupsController.updateGroups(type :String, domain :String, name :String)
PATCH /api/v1/adgroups/:type/:domain/:name/groups controllers.DirectoryGroupsController.updateGroups(type :String, domain :String, name :String)
PUT /api/v1/adgroups/:type/:domain/:name/groups controllers.DirectoryGroupsController.setGroups(type :String, domain :String, name :String)
GET /api/v1/adgroups/:type/:domain/:name/datasets controllers.DirectoryGroupsController.getDataSets(type :String, domain :String, name :String)
POST /api/v1/adgroups/:type/:domain/:name/datasets controllers.DirectoryGroupsController.updateDataSets(type :String, domain :String, name :String)
PATCH /api/v1/adgroups/:type/:domain/:name/datasets controllers.DirectoryGroupsController.updateDataSets(type :String, domain :String, name :String)
PUT /api/v1/adgroups/:type/:domain/:name/datasets controllers.DirectoryGroupsController.setDataSets(type :String, domain :String, name :String)
GET /api/v1/datasets controllers.DataSetsController.getAll(includeDisplayMeta :Boolean ?= false)
POST /api/v1/datasets controllers.DataSetsController.createDataSet(includeDisplayMeta :Boolean ?= false)
GET /api/v1/datasets/:dataSetId controllers.DataSetsController.getDataSet(dataSetId :java.util.UUID, includeDisplayMeta :Boolean ?= false)
POST /api/v1/datasets/:dataSetId controllers.DataSetsController.updateDataSet(dataSetId :java.util.UUID, includeDisplayMeta :Boolean ?= false)
PATCH /api/v1/datasets/:dataSetId controllers.DataSetsController.updateDataSet(dataSetId :java.util.UUID, includeDisplayMeta :Boolean ?= false)
DELETE /api/v1/datasets/:dataSetId controllers.DataSetsController.deleteDataSet(dataSetId :java.util.UUID)
# AUTHENTICATION
POST /api/v1/sessions controllers.AuthenticationController.authenticate()
GET /api/v1/sessions/current controllers.AuthenticationController.status()
GET /api/v1/auth-providers controllers.AuthenticationController.getProviders()
# INVENTORY
GET /api/v1/inventory/sources controllers.InventoryController.getSources()
POST /api/v1/inventory/source controllers.InventoryController.newSource()
GET /api/v1/inventory/source/:sourceId controllers.InventoryController.getSource(sourceId :String)
POST /api/v1/inventory/source/:sourceId controllers.InventoryController.updateSource(sourceId :String)
PATCH /api/v1/inventory/source/:sourceId controllers.InventoryController.updateSource(sourceId :String)
DELETE /api/v1/inventory/source/:sourceId controllers.InventoryController.removeSource(sourceId :String)
GET /api/v1/inventory/clients controllers.InventoryController.getClients()
GET /api/v1/inventory/items/:clientId controllers.InventoryController.getClientItems(clientId :String)
GET /api/v1/inventory/item/:clientId/:sourceId controllers.InventoryController.getClientItem(clientId :String, sourceId :String)
POST /api/v1/inventory/item/:clientId/:sourceId controllers.InventoryController.updateClientItem(clientId :String, sourceId :String)
PATCH /api/v1/inventory/item/:clientId/:sourceId controllers.InventoryController.updateClientItem(clientId :String, sourceId :String)
DELETE /api/v1/inventory/item/:clientId/:sourceId controllers.InventoryController.removeClientItem(clientId :String, sourceId :String)
GET /api/v1/inventory/settings controllers.InventoryController.getSettings()
POST /api/v1/inventory/settings controllers.InventoryController.changeSettings()
PATCH /api/v1/inventory/settings controllers.InventoryController.changeSettings()
GET /api/v1/inventory/lookup/:hostname controllers.InventoryController.lookupHostname(hostname :String)
# CONFIGURATION
PUT /api/v1/config controllers.ConfigController.setConfig(validate :Boolean ?= true)
GET /api/v1/config controllers.ConfigController.getConfig(defaults :Boolean ?= false)
GET /api/v1/config/data controllers.ConfigController.exportConfig()
POST /api/v1/config/data controllers.ConfigController.importConfig()
# CONTENT PACK
GET /api/v1/contentpacks controllers.ContentPacksController.getContentPacks()
POST /api/v1/contentpacks controllers.ContentPacksController.installContentPack(overwrite :Boolean ?= false)
GET /api/v1/contentpacks/:contentPackNamespace controllers.ContentPacksController.getContentPack(contentPackNamespace :String)
DELETE /api/v1/contentpacks/:contentPackNamespace controllers.ContentPacksController.deleteContentPack(contentPackNamespace :String)
# VROPS MANAGEMENT PACK ENHANCED ALERT PACKS
GET /api/v1/vropspacks controllers.VropsPacksController.getVropsPacks()
POST /api/v1/vropspacks controllers.VropsPacksController.installVropsPack(overwrite :Boolean ?= false, installAlerts :Boolean ?= false)
GET /api/v1/vropspacks/:vropsPackNamespace controllers.VropsPacksController.getVropsPack(vropsPackNamespace :String)
DELETE /api/v1/vropspacks/:vropsPackNamespace controllers.VropsPacksController.deleteVropsPack(vropsPackNamespace :String, removeAlerts :Boolean ?= false)
# Stats API
# increment and decrement a counter
PATCH /api/v1/stats/groups/:statGroup/types/:statType/names/:statName controllers.StatsController.updateCounter(statGroup :String, statType :String, statName :String)
# mark meters and update histograms
POST /api/v1/stats/groups/:statGroup/types/:statType/names/:statName/events controllers.StatsController.updateMeterOrHistogram(statGroup :String, statType :String, statName :String)
GET /api/v1/stats/groups/:statGroup/types/:statType/names/:statName controllers.StatsController.getIndividualClusterStats(statGroup :String, statType :String, statName :String)
# MARKETPLACE
GET /api/v1/marketplace/index controllers.MarketplaceController.getIndex()
POST /api/v1/marketplace/index controllers.MarketplaceController.postIndex()
# LICENSE
GET /api/v1/licenses controllers.LicenseController.showLicenseState()
POST /api/v1/licenses controllers.LicenseController.addLicenseKey()
DELETE /api/v1/licenses/:licenseId controllers.LicenseController.deleteLicenseKey(licenseId :java.util.UUID)
# SSL CONFIGURATION
PUT /api/v1/ssl/force controllers.SslController.setSslOnly()
# vSphere API
GET /api/v1/vsphere/servers controllers.VSphereController.getCredentials()
GET /api/v1/vsphere/servers/:hostname controllers.VSphereController.getCredential(hostname :String)
POST /api/v1/vsphere/servers controllers.VSphereController.addCredential()
POST /api/v1/vsphere/servers/:hostname controllers.VSphereController.upsertCredential(hostname :String)
PATCH /api/v1/vsphere/servers/:hostname controllers.VSphereController.upsertCredential(hostname :String)
DELETE /api/v1/vsphere/servers/:hostname controllers.VSphereController.deleteCredential(hostname :String)
POST /api/v1/vsphere/servers/:hostname/hosts controllers.VSphereController.updateHosts(hostname :String)
PATCH /api/v1/vsphere/servers/:hostname/hosts controllers.VSphereController.updateHosts(hostname :String)
GET /api/v1/vsphere/servers/:hostname/hosts controllers.VSphereController.getHosts(hostname :String)
GET /api/v1/vsphere/servers/:vSphereHostname/hosts/:esxiHost controllers.VSphereController.getHost(vSphereHostname :String, esxiHost :String)
POST /api/v1/vsphere/servers/:vSphereHostname/hosts/:esxiHost controllers.VSphereController.updateHost(vSphereHostname :String, esxiHost :String)
PATCH /api/v1/vsphere/servers/:vSphereHostname/hosts/:esxiHost controllers.VSphereController.updateHost(vSphereHostname :String, esxiHost :String)
POST /api/v1/vsphere/testconnection controllers.VSphereController.testVsphereConnection()
# vRops API
GET /api/v1/vrops/servers controllers.VRopsController.getCredentials()
GET /api/v1/vrops/servers/:hostname controllers.VRopsController.getCredential(hostname :String)
POST /api/v1/vrops/servers controllers.VRopsController.addCredential()
PUT /api/v1/vrops/servers/:hostname controllers.VRopsController.upsertCredential(hostname :String)
DELETE /api/v1/vrops/servers/:hostname controllers.VRopsController.deleteCredential(hostname :String)
POST /api/v1/vrops/servers/:hostname controllers.VRopsController.setLaunchInContext(hostname :String)
POST /api/v1/vrops/testconnection controllers.VRopsController.testConnection()
# HOSTS
POST /api/v1/hosts controllers.HostsController.loadHosts()
# Interactive Analytics Snapshots
GET /api/v1/users/self/snapshots controllers.SnapshotsController.getSnapshots()
GET /api/v1/users/:userId/snapshots controllers.SnapshotsController.getSnapshotsForUser(userId :java.util.UUID)
POST /api/v1/users/self/snapshots controllers.SnapshotsController.createSnapshot()
POST /api/v1/users/:userId/snapshots controllers.SnapshotsController.createSnapshotForUser(userId :java.util.UUID)
PATCH /api/v1/users/self/snapshots/:snapshotId controllers.SnapshotsController.updateSnapshot(snapshotId :java.util.UUID)
POST /api/v1/users/self/snapshots/:snapshotId controllers.SnapshotsController.updateSnapshot(snapshotId :java.util.UUID)
PATCH /api/v1/users/:userId/snapshots/:snapshotId controllers.SnapshotsController.updateSnapshotForUser(userId :java.util.UUID, snapshotId :java.util.UUID)
POST /api/v1/users/:userId/snapshots/:snapshotId controllers.SnapshotsController.updateSnapshotForUser(userId :java.util.UUID, snapshotId :java.util.UUID)
DELETE /api/v1/users/self/snapshots controllers.SnapshotsController.deleteAllSnapshots()
DELETE /api/v1/users/:userId/snapshots controllers.SnapshotsController.deleteAllSnapshotsForUser(userId :java.util.UUID)
DELETE /api/v1/users/self/snapshots/:snapshotId controllers.SnapshotsController.deleteSnapshot(snapshotId :java.util.UUID)
DELETE /api/v1/users/:userId/snapshots/:snapshotId controllers.SnapshotsController.deleteSnapshotForUser(userId :java.util.UUID, snapshotId :java.util.UUID)
PUT /api/v1/users/self/snapshots/:snapshotId/position controllers.SnapshotsController.updateSnapshotPosition(snapshotId :java.util.UUID)
PUT /api/v1/users/:userId/snapshots/:snapshotId/position controllers.SnapshotsController.updateSnapshotPositionForUser(userId :java.util.UUID, snapshotId :java.util.UUID)
# SUPPORT BUNDLE
POST /api/v1/appliance/support-bundles controllers.SupportBundleController.newBundle()
GET /api/v1/appliance/support-bundles/:id controllers.SupportBundleController.getBundle(id :String, timeout :Long ?= 60)
DELETE /api/v1/appliance/support-bundles/:id controllers.SupportBundleController.deleteBundle(id :String)
# SMTP Config
GET /api/v1/notification/channels controllers.NotificationsController.getConfig()
PUT /api/v1/notification/channels controllers.NotificationsController.updateConfig()
# FOR INTERNAL USE. GET RESPONSE ERROR BY PROVIDING ERROR TYPE
GET /api/v1/internal/force-error/:errorType controllers.InternalController.forceError(errorType :String)
GET /api/v1/internal/force-error-auth/:errorType controllers.InternalController.forceErrorAuthenticated(errorType :String)
GET /api/v1/internal/ping controllers.InternalController.ping()
POST /api/v1/internal/cluster/action controllers.InternalClusterController.action()
POST /api/v1/internal/agent/autoupdate controllers.agents.AgentAutoUpdateController.enableAutoUpdate()
GET /api/v1/internal/agent/autoupdate controllers.agents.AgentAutoUpdateController.isAutoUpdateEnabled()
# AD Configuration
GET /api/v1/ad controllers.ADConfigurationController.getAD()
POST /api/v1/ad controllers.ADConfigurationController.configAD()
POST /api/v1/ad/test controllers.ADConfigurationController.testAD()
# Initial deployment/setup
POST /api/v1/deployment/new controllers.LIDeploymentController.newDeployment()
POST /api/v1/deployment/join controllers.LIDeploymentController.joinDeployment()
POST /api/v1/deployment/approve controllers.LIDeploymentController.approveDeployment()
# LI version
GET /api/v1/version controllers.VersionController.get()
# Agent Packages API
GET /api/v1/agent/packages/info/:packageType controllers.agents.AgentPackagesController.getInfo(packageType :String, version :String ?= "", osBitness :Integer ?= 32)
GET /api/v1/agent/packages/files/:fileName controllers.agents.AgentPackagesController.downloadByName(fileName :String)
GET /api/v1/agent/packages/types/:packageType controllers.agents.AgentPackagesController.downloadByType(packageType :String, osBitness :Integer ?= 32)
POST /api/v1/agent/packages controllers.agents.AgentPackagesController.upload()
DELETE /api/v1/agent/packages/files/:fileName controllers.agents.AgentPackagesController.deleteByName(fileName :String)
# Archiving Configuration API
GET /api/v1/archiving controllers.ArchivingConfigurationController.get()
POST /api/v1/archiving controllers.ArchivingConfigurationController.set()
POST /api/v1/archiving/test controllers.ArchivingConfigurationController.test()
# Upgrade
POST /api/v1/upgrades controllers.UpgradeController.initializeUpgrade()
GET /api/v1/upgrades controllers.UpgradeController.version()
GET /api/v1/upgrades/local controllers.UpgradeController.localVersion()
PUT /api/v1/upgrades/:version/eula controllers.UpgradeController.acceptEula(version :String)
PUT /api/v1/upgrades/:version/nodes/:node controllers.UpgradeController.setNodeStatus(version :String, node :String)
GET /api/v1/upgrades/:version controllers.UpgradeController.getUpgradeStatus(version :String)
GET /api/v1/upgrades/:version/nodes/:node controllers.UpgradeController.getNodeStatus(version :String, node :String)
GET /api/v1/upgrades/:version/verified controllers.UpgradeController.verify(version :String)
POST /api/v1/upgrades/:version/snapshot controllers.UpgradeController.createSnapshot(version :String)
GET /api/v1/upgrades/:version/snapshot controllers.UpgradeController.getSnapshotStatus(version :String, unvalidated :Boolean ?= false)
POST /api/v1/upgrades/:version/snapshot/local controllers.UpgradeController.createLocalSnapshot(version :String)
GET /api/v1/upgrades/:version/snapshot/local controllers.UpgradeController.getLocalSnapshotStatus(version :String, unvalidated :Boolean ?= false)
GET /api/v1/upgrades/:version/rollback/services/local controllers.UpgradeController.getLocalServices(version :String)
PATCH /api/v1/upgrades/:version/rollback/services/:service/local controllers.UpgradeController.rollbackService(version :String, service :String)
POST /api/v1/upgrades/:version/rollback/services/:service/local controllers.UpgradeController.rollbackService(version :String, service :String)
POST /api/v1/upgrades/:version/rollback/services controllers.UpgradeController.rollbackServices(version :String)
POST /api/v1/upgrades/:version/rollback controllers.UpgradeController.rollback(version :String)
GET /api/v1/upgrades/:version/rollback controllers.UpgradeController.getRollbackStatus(version :String)
GET /api/v1/upgrades/:version/rollback/local controllers.UpgradeController.getLocalRollbackStatus(version :String)
POST /api/v1/upgrades/:version/rollback/local controllers.UpgradeController.rollbackLocal(version :String)
# Event Forwarder Configuration API
GET /api/v1/forwarding/destinations controllers.EventForwarderController.get(destinationId :String = "")
GET /api/v1/forwarding/destinations/:destinationId controllers.EventForwarderController.get(destinationId :String)
POST /api/v1/forwarding/destinations controllers.EventForwarderController.add()
PUT /api/v1/forwarding/destinations controllers.EventForwarderController.edit()
DELETE /api/v1/forwarding/destinations/:destinationId controllers.EventForwarderController.delete(destinationId :String)
POST /api/v1/forwarding/test controllers.EventForwarderController.test()
# Short URL support
GET /api/v1/short/:token controllers.ShortUrlController.getUrl(token :String)
POST /api/v1/short controllers.ShortUrlController.shortenUrl()
# Time
GET /api/v1/time controllers.TimeController.getTime()
GET /api/v1/time/config controllers.TimeController.getNTPConfig()
POST /api/v1/time/config controllers.TimeController.setNTPConfig()
POST /api/v1/time/test controllers.TimeController.testNTPServers()
# LoadBalancer
GET /api/v1/load-balancer controllers.LoadBalancerController.getLoadBalancerConfig()
POST /api/v1/load-balancer controllers.LoadBalancerController.setLoadBalancerConfig()
GET /api/v1/load-balancer/status controllers.LoadBalancerController.getHaVipStatus()
# Script execution
POST /api/v1/scripts/nodes/local controllers.ScriptsController.executeScript(timeout :Long ?= 60)
POST /api/v1/scripts/nodes/:nodeId controllers.ScriptsController.executeScriptOnNode(nodeId :String, timeout :Long ?= 60)
POST /api/v1/scripts/nodes controllers.ScriptsController.executeScriptClusterWide(nodeTimeout :Long ?= 60)
# in production health/sanity checks
GET /api/v1/diag/checks controllers.InProductionChecksAPIController.getChecks
GET /api/v1/diag/results controllers.InProductionChecksAPIController.getCheckResults
GET /api/v1/diag/results.vcenter.xml controllers.InProductionChecksAPIController.getCheckResultsVcenterCompatible
GET /api/v1/diag/results/summary controllers.InProductionChecksAPIController.getSimpleSummary
# vIDM Configuration
GET /api/v1/vidm/status controllers.VIDMConfigurationController.getStatus()
POST /api/v1/vidm controllers.VIDMConfigurationController.config()
# Cassandra
GET /api/v1/cassandra/sstables/:table/nodes/local controllers.CassandraController.getSSTables(table :String)
POST /api/v1/cassandra/sstables/:table controllers.CassandraController.loadSSTables(table :String)
# Deprecated APIs, as of Log Insight 3.3
# ~~~~
# AUTHENTICATION
GET /api/v1/sessions controllers.AuthenticationController.statusDeprecated()
# Deprecated: vSphere API
GET /api/v1/vsphere controllers.VSphereController.getCredentialsDeprecated()
GET /api/v1/vsphere/:hostname controllers.VSphereController.getCredentialDeprecated(hostname :String)
POST /api/v1/vsphere controllers.VSphereController.addCredentialDeprecated()
PUT /api/v1/vsphere/:hostname controllers.VSphereController.upsertCredentialDeprecated(hostname :String)
PATCH /api/v1/vsphere/:hostname controllers.VSphereController.upsertCredentialDeprecated(hostname :String)
DELETE /api/v1/vsphere/:hostname controllers.VSphereController.deleteCredentialDeprecated(hostname :String)
POST /api/v1/vsphere/:hostname/hosts controllers.VSphereController.updateHostsDeprecated(hostname :String)
PATCH /api/v1/vsphere/:hostname/hosts controllers.VSphereController.updateHostsDeprecated(hostname :String)
GET /api/v1/vsphere/:hostname/hosts controllers.VSphereController.getHostsDeprecated(hostname :String)
GET /api/v1/vsphere/:vSphereHostname/hosts/:esxiHost controllers.VSphereController.getHostDeprecated(vSphereHostname :String, esxiHost :String)
POST /api/v1/vsphere/:vSphereHostname/hosts/:esxiHost controllers.VSphereController.updateHostDeprecated(vSphereHostname :String, esxiHost :String)
PATCH /api/v1/vsphere/:vSphereHostname/hosts/:esxiHost controllers.VSphereController.updateHostDeprecated(vSphereHostname :String, esxiHost :String)
# Deprecated: vRops API
GET /api/v1/vrops controllers.VRopsController.getCredentialsDeprecated()
GET /api/v1/vrops/:hostname controllers.VRopsController.getCredentialDeprecated(hostname :String)
POST /api/v1/vrops controllers.VRopsController.addCredentialDeprecated()
PUT /api/v1/vrops/:hostname controllers.VRopsController.upsertCredentialDeprecated(hostname :String)
DELETE /api/v1/vrops/:hostname controllers.VRopsController.deleteCredentialDeprecated(hostname :String)
POST /api/v1/vrops/:hostname controllers.VRopsController.setLaunchInContextDeprecated(hostname :String)
# Deprecated: SMTP Config
GET /api/v1/notifications controllers.NotificationsController.getConfigDeprecated()
PUT /api/v1/notifications controllers.NotificationsController.updateConfigDeprecated()
# Deprecated: AD Configuration
GET /api/v1/ad/config controllers.ADConfigurationController.getADDeprecated()
POST /api/v1/ad/config controllers.ADConfigurationController.configADDeprecated()
# Deprecated: Archiving Configuration API
GET /api/v1/archiving/config controllers.ArchivingConfigurationController.getDeprecated()
POST /api/v1/archiving/config controllers.ArchivingConfigurationController.setDeprecated()
# Deprecated: Event Forwarder Configuration API
GET /api/v1/forwarding controllers.EventForwarderController.getDeprecated(forwarderId :String ?= "")
POST /api/v1/forwarding controllers.EventForwarderController.addDeprecated()
PUT /api/v1/forwarding controllers.EventForwarderController.editDeprecated()
DELETE /api/v1/forwarding controllers.EventForwarderController.deleteDeprecated(forwarderId :String)
# Deprecated: Time
POST /api/v1/time/testservers controllers.TimeController.testNTPServersDeprecated()
# Deprecated: LoadBalancer
GET /api/v1/ilb controllers.LoadBalancerController.getLoadBalancerConfigDeprecated()
POST /api/v1/ilb controllers.LoadBalancerController.setLoadBalancerConfigDeprecated()
GET /api/v1/ilb/status controllers.LoadBalancerController.getHaVipStatusDeprecated()
# Deprecated: vIDM Configuration
GET /api/v1/vidm/state controllers.VIDMConfigurationController.getStatusDeprecated()
POST /api/v1/vidm/config controllers.VIDMConfigurationController.configDeprecated()
# CORS support – keep this as the lowest priority so it can be overridden
OPTIONS /*path controllers.CORSController.preflight(path: String)

4 thoughts on “Log Insight API calls Appendix

  1. Most of that routes file describes internal, preview or deprecated APIs, so you probably don’t want to rely on anything it says staying the same between versions. You can verify any individual interface via the “Warning” headers in the HTTP response.

Leave a Reply

Your email address will not be published. Required fields are marked *