|
You can either add to earliest or subtract from latest: Second half of previous hour...
First half of previous hour...
While that definitely taught me something about the snap-to (I didn't know you could do math on the right-handside (and I don't see anything in the docs that imply that you can)), it doesn't really get me what I was looking for, which was to snap to the previous half-hour. With the math, I can schedule either the first or last half hour of the previous hour, but I really just want the previous half hour.
(24 May '11, 13:36)
mslvrstn
|
|
You should be able to do that: http://www.splunk.com/base/Documentation/latest/User/ChangeTheTimeRangeOfYourSearch Syntax for relative time modifiers You can define the relative time in your search with a string of characters that indicate time amount (integer and unit) and, optionally, a "snap to" time unit: [+|-]<time_integer><time_unit>@<time_unit>. Also, when specifying relative time, you can use now to refer to the current time.
|