

# InsightTimeRange
<a name="API_InsightTimeRange"></a>

Specifies the time range for filtering insights.

## Contents
<a name="API_InsightTimeRange_Contents"></a>

 ** From **   <a name="opensearchservice-Type-InsightTimeRange-From"></a>
The start of the time range, in epoch milliseconds.  
Type: Long  
Required: Yes

 ** To **   <a name="opensearchservice-Type-InsightTimeRange-To"></a>
The end of the time range, in epoch milliseconds.  
Type: Long  
Required: Yes

## See Also
<a name="API_InsightTimeRange_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/opensearch-2021-01-01/InsightTimeRange) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/opensearch-2021-01-01/InsightTimeRange) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/opensearch-2021-01-01/InsightTimeRange) 