Class TimeStatsCommandDescriptor
Command descriptor for querylanguage TIMESTATS command.
Inherited Members
Namespace: Oci.LoganalyticsService.Models
Assembly: OCI.DotNetSDK.Loganalytics.dll
Syntax
public class TimeStatsCommandDescriptor : AbstractCommandDescriptor
Properties
Functions
Declaration
[JsonProperty(PropertyName = "functions")]
public List<FunctionField> Functions { get; set; }
Property Value
Type | Description |
---|---|
List<FunctionField> | Statistical functions specified in the query string. Atleast 1 is required for a TIMESTATS command. |
GroupByFields
Declaration
[JsonProperty(PropertyName = "groupByFields")]
public List<AbstractField> GroupByFields { get; set; }
Property Value
Type | Description |
---|---|
List<AbstractField> | Group by fields if specified in the query string. |
Span
Declaration
[JsonProperty(PropertyName = "span")]
public string Span { get; set; }
Property Value
Type | Description |
---|---|
string | Option to control the size of buckets in the histogram e.g 8hrs - each bar other than first and last should represent 8hr time span. Will be adjusted to a larger span if time range is very large. |
Time
Declaration
[JsonProperty(PropertyName = "time")]
public AbstractField Time { get; set; }
Property Value
Type | Description |
---|---|
AbstractField | Optional timestamp datatype field if specified. Default field is time. |