You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/search/get-started-with-search/build-search/use-searchable-time.md
+6-4Lines changed: 6 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -35,11 +35,11 @@ Follow the below steps to run a search by Searchable Time:
35
35
Follow the below steps to run a scheduled search by Searchable Time:
36
36
37
37
1. Enter your query in the search text box and click **Save As..**.
38
-
1. In the **Save Item** pop-up, select **Searchable Time** from the timestamp dropdown.
38
+
1. In the **Save Item** pop-up, select **Searchable Time** from the timestamp dropdown.<br/><img src={useBaseUrl('/img/search/get-started-search/build-search/searchable-time-scheduled-search.png')} alt="searchable-time-scheduled-search" style={{border:'1px solid gray'}} width="500" />
39
39
40
40
## Run a search using Searchable Time in dashboard
41
41
42
-
::note
42
+
:::note
43
43
**Searchbale Time** will not be available for *Metrics* or *Spans* query.
44
44
:::
45
45
@@ -49,13 +49,14 @@ Follow the below steps to run a search using the Searchable Time in the dashboar
49
49
1. Select a panel type by clicking the corresponding icon.<br/><img src={useBaseUrl('/img/dashboards/create-dashboard/panel-types.png')} alt="panel types" style={{border: '1px solid gray'}} width="600" />
50
50
1. You are prompted to provide a log query.
51
51
1. Navigate to **General** configuration.
52
-
1. Go to **Logs Settings** section and select **Searchbale Time** as the timestamp.
52
+
1. Go to **Logs Settings** section and select **Searchbale Time** as the timestamp.<br/><img src={useBaseUrl('/img/search/get-started-search/build-search/searchable-time-dashboard.png')} alt="searchable-time-dashboard" style={{border:'1px solid gray'}} width="500" />
53
53
54
54
## Run/save a search by Searchable Time using API
55
55
56
56
To create a search, refer to the [Search Job API Documentation](/docs/api/search-job/#create-a-search-job). Below mentioned parameter has been updated due to addition of Searchable time feature:
57
57
58
58
| Parameter | Type | Requried | Description |
59
+
| :-- | :-- | :-- | :-- |
59
60
|`intervalTimeType`| String | Yes | This parameter defines whether you want to run the search by messageTime, receiptTime, or searchableTime. By default, the search will run by messageTime. |
60
61
61
62
:::note
@@ -67,7 +68,8 @@ If both `runByReceiptTime` and `intervalTimeType` parameters are present then th
67
68
To create a dashboard, refer to the [Search Job API Documentation](/docs/api/dashboard/). Below mentioned parameter has been updated due to addition of Searchable time feature:
68
69
69
70
| Parameter | Type | Requried | Description |
70
-
|`timeSource`| String | Yes | This parameter defines the time source of the query. Possible values are `Message`, `Receipt`, or `Searchable`. By default, `Message` will be used as the time source. </br>**Message**. Uses the timestamp on the message.</br>**Receipt**. Timestamp when the logs were received by Sumo Logic.</br>**Searchable**. Timestamp when the logs are available for search. |
71
+
| :-- | :-- | :-- | :-- |
72
+
|`timeSource`| String | Yes | This parameter defines the time source of the query. Possible values are `Message`, `Receipt`, or `Searchable`. By default, `Message` will be used as the time source. <br/>**Message**. Uses the timestamp on the message.<br/>**Receipt**. Timestamp when the logs were received by Sumo Logic.<br/>**Searchable**. Timestamp when the logs are available for search. |
71
73
72
74
:::info
73
75
`time_source` field in the *terraform* supports **Searchable** value for dashboards.
0 commit comments