/** * Returns the count of event fields. * * @return The number of event fields. */ public int getEventFieldCount() { checkReady(); return getInteger("eventFieldCount"); }
/** * Returns the number of previews that have been generated so far for this * job. * * @return The number of previews. */ public int getNumPreviews() { checkReady(); return getInteger("numPreviews"); }
/** * Returns the maximum number of timeline buckets for this job. * * @return The number of timeline buckets. */ public int getStatusBuckets() { checkReady(); return getInteger("statusBuckets"); }
/** * Returns the count of events stored by search that are available to be * retrieved from the events endpoint. * * @return The count of available events. */ public int getEventAvailableCount() { checkReady(); return getInteger("eventAvailableCount"); }
/** * Returns the number of events that are scanned or read off disk. * * @return The number of events. */ public int getScanCount() { checkReady(); return getInteger("scanCount"); }
/** * Returns the number of possible events that were dropped due to the * {@code rt_queue_size} (the number of events that the indexer should use * for this search). For real-time searches only. * * @return The number of dropped events. */ public int getDropCount() { checkReady(); return getInteger("dropCount", 0); }
/** * Returns this job's priority in the range of 0-10. * * @return The search job priority. */ public int getPriority() { checkReady(); return getInteger("priority"); }
/** * Returns the number of result rows in the latest preview results for this * job. * * @return The number of result rows. */ public int getResultPreviewCount() { checkReady(); return getInteger("resultPreviewCount"); }
/** * Returns the disk usage for this job. * * @return The disk usage, in bytes. */ public int getDiskUsage() { checkReady(); return getInteger("diskUsage"); }
/** * Returns the count of events (pre-transforming) that were generated. * * @return The number of events. */ public int getEventCount() { checkReady(); return getInteger("eventCount"); }
/** * Returns the total count of results returned for this search job. * This is the subset of scanned events that actually matches the search * terms. * * @return The number of results. */ public int getResultCount() { checkReady(); return getInteger("resultCount"); }
/** * Returns this job's time to live--that is, the time * before the search job expires and is still available. * If this value is 0, it means the job has expired. * * @return The time to live, in seconds. */ public int getTtl() { checkReady(); return getInteger("ttl"); }