/** * Returns the frozen archive destination path for this index. * * @return The frozen archive destination path, or {@code null} if not * specified. */ public String getColdToFrozenDir() { return getString("coldToFrozenDir", null); }
/** * Returns the memory pool for this index. * * @return The memory pool, in MB or "auto". */ public String getMemPoolMB() { return getString("memPoolMB"); }
/** * Returns the absolute file path to the cold database for this index. * This value may contain shell expansion terms. * * @return The absolute file path to the cold database, or {@code null} if * not specified. */ public String getColdPath() { return getString("coldPath", null); }
/** * Returns the expanded absolute path to the thawed index for this index. * * @return The expanded absolute path to the thawed index, or {@code null} * if not specified. */ public String getThawedPathExpanded() { return getString("thawedPath_expanded", null); }
/** * Returns the suggested size of the .tsidx file for the bucket rebuild * process. * Valid values are: "auto", a positive integer, or a positive * integer followed by "KB", "MB", or "GB". * * @return The suggested size of the .tsidx file for the bucket rebuild * process. */ public String getBucketRebuildMemoryHint() { return getString("bucketRebuildMemoryHint"); }
/** * Returns the expanded absolute file path to the cold database for this * index. * * @return The expanded absolute file path to the cold database, or * {@code null} if not specified. */ public String getColdPathExpanded() { return getString("coldPath_expanded", null); }
/** * Returns a list of indexes that suppress "index missing" messages. * * @return A comma-separated list of indexes. */ public String getSuppressBannerList() { return getString("suppressBannerList", null); }
/** * Returns the absolute path to both hot and warm buckets for this index. * This value may contain shell expansion terms. * * @return This index's absolute path to both hot and warm buckets, or * {@code null} if not specified. */ public String getHomePath() { return getString("homePath", null); }
/** * Returns the expanded absolute path to both hot and warm buckets for this * index. * * @return The expanded absolute path to both hot and warm buckets, or * {@code null} if not specified. */ public String getHomePathExpanded() { return getString("homePath_expanded", null); }
/** * Returns the index thread for this index. * * @return The index thread. */ public String getIndexThreads() { return getString("indexThreads"); }
/** * Returns the absolute path to the thawed index for this index. This value * may contain shell expansion terms. * * @return The absolute path to the thawed index, or {@code null} if not * specified. */ public String getThawedPath() { return getString("thawedPath", null); }
/** * Return the default index name of the Splunk instance. * * @return The default index name. */ public String getDefaultDatabase() { return getString("defaultDatabase"); }
/** * Returns the last initialization time for this index. * * @return The last initialization time, or {@code null} if not specified. */ public String getLastInitTime() { return getString("lastInitTime", null); }
/** * Returns the time that indicates a bucket age. When a warm or cold bucket * is older than this, Splunk does not create or rebuild its bloomfilter. * The valid format is <i>number</i> followed by a time unit ("s", "m", "h", * or "d"). For example, "30d" for 30 days. */ public String getMaxBloomBackfillBucketAge() { return getString("maxBloomBackfillBucketAge", null); }
/** * Returns the maximum data size before triggering a roll from hot to warm * buckets for this index. * * @return The maximum data size, in MB, or "auto" (which means 750MB), or * "auto_high_volume" (which means 10GB on a 64-bit system, or 1GB on a * 32-bit system). * @see #setMaxDataSize */ public String getMaxDataSize() { return getString("maxDataSize"); }
/** * Returns the path to the archiving script. * <p>For more info about archiving scripts, see the * <a href="http://docs.splunk.com/Documentation/Splunk/latest/RESTAPI/RESTindex#POST_data.2Findexes" * target="_blank">POST data/indexes endpoint</a> in the REST API * documentation. * @see #getColdToFrozenDir * * @return The archiving script, or {@code null} if not specified. */ public String getColdToFrozenScript() { return getString("coldToFrozenScript", null); }
/** * Returns the frequency at which Splunkd forces a filesystem sync while * compressing journal slices for this index. * <p> * A value of "disable" disables this feature completely, while a value of 0 * forces a file-system sync after completing compression of every journal * slice. * * @return The file-system sync frequency, as an integer or "disable". */ public String getMinRawFileSyncSecs() { return getString("minRawFileSyncSecs"); }