public class License extends Entity
License
class represents a license, providing access to the
licenses for this Splunk instance. Splunk licenses specify how much data
you can index per calendar day (from midnight to midnight by the clock on
the license master).Modifier and Type | Method and Description |
---|---|
Date |
getCreationTime()
Returns the time and date the license was created.
|
Date |
getExpirationTime()
Returns the time and date this license expires.
|
String[] |
getFeatures()
Returns a list of enabled features for this license.
|
String |
getGroupId()
Returns the group ID for this license.
|
String |
getLabel()
Returns the label for this license.
|
String |
getLicenseHash()
Returns the hash value for this license.
|
int |
getMaxViolations()
Returns the maximum number of violations allowed for this license.
|
long |
getQuota()
Returns the daily indexing quota, which is the maximum bytes per day
of indexing volume for this license.
|
String[] |
getSourceTypes()
Returns the source types that, when indexed, count against the indexing
volume for this license.
|
String |
getStackId()
Returns the stack ID for this license.
|
String |
getStatus()
Returns the status of this license.
|
String |
getType()
Returns the license type.
|
int |
getWindowPeriod()
Returns the number of days remaining in the rolling time window
for this license.
|
actionPath, clear, containsKey, containsValue, disable, enable, entrySet, get, getContent, getMetadata, isDisabled, isEmpty, isNameChangeAllowed, keySet, put, putAll, refresh, remove, remove, size, update, update, validate, values
getName, getPath, getService, getTitle, getUpdated, invalidate
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, equals, forEach, getOrDefault, hashCode, merge, putIfAbsent, remove, replace, replace, replaceAll
public Date getCreationTime()
public Date getExpirationTime()
public String[] getFeatures()
public String getGroupId()
null
if not available.public String getLabel()
null
if not available.public String getLicenseHash()
public int getMaxViolations()
public long getQuota()
public String[] getSourceTypes()
null
if not specified.public String getStackId()
public String getStatus()
public String getType()
public int getWindowPeriod()
Copyright © 2022 Splunk, Inc.. All rights reserved.