gentimes
This documentation does not apply to the most recent version of Splunk. Click here for the latest version.
gentimes
Synopsis
Generates time range results.
Syntax
gentimes start=timestamp [end=timestamp] [increment=increment]
Arguments
- start
- Datatype: <timestamp>
- Description:
- end
- Datatype: <timestamp>
- Description:
- increment
- Datatype: <increment>
- Description:
Description
Generates time range results. This command is useful in conjunction with the 'map' command.
Examples
Example 1: All HOURLY time ranges from oct 1 till oct 5
| gentimes start=10/1/07 end=10/5/07 increment=1hExample 2: All daily time ranges from 30 days ago until 27 days ago
| gentimes start=-30 end=-27Example 3: All daily time ranges from oct 1 till oct 5
| gentimes start=10/1/07 end=10/5/07Example 4: All daily time ranges from oct 25 till today
| gentimes start=10/25/07
See also
This documentation applies to the following versions of Splunk: 4.0 , 4.0.1 , 4.0.2 , 4.0.3 , 4.0.4 , 4.0.5 , 4.0.6 , 4.0.7 , 4.0.8 , 4.0.9 , 4.0.10 , 4.0.11 View the Article History for its revisions.