{"id":48461,"date":"2021-12-07T13:22:30","date_gmt":"2021-12-07T13:22:30","guid":{"rendered":"https:\/\/merikebi.warrenmyers.com\/?p=48461"},"modified":"2021-12-07T13:22:30","modified_gmt":"2021-12-07T13:22:30","slug":"answer-by-warren-for-splunk-enterprise-exclude-certain-time-ranges-for-a-bigger-time-range","status":"publish","type":"post","link":"https:\/\/merikebi.warrenmyers.com\/?p=48461","title":{"rendered":"Answer by warren for Splunk Enterprise: Exclude certain time ranges for a bigger time range"},"content":{"rendered":"<p>The way to filter time the way you&#8217;re describing is by putting it directly in your SPL instead of using the time picker using <code>earliest<\/code> and <code>latest<\/code><\/p>\n<p>For example:<\/p>\n<pre><code>index=ndx sourcetype=srctp ((earliest=-24d latest=-20d) OR (earliest=-10d latest=-6d)\n| &lt;rest of SPL&gt;\n<\/code><\/pre>\n<p>from User warren &#8211; Stack Overflow https:\/\/stackoverflow.com\/questions\/70258679\/splunk-enterprise-exclude-certain-time-ranges-for-a-bigger-time-range\/70260840#70260840<br \/>\nvia <a href=\"https:\/\/ifttt.com\/?ref=da&#038;site=wordpress\">IFTTT<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>The way to filter time the way you&#8217;re describing is by putting it directly in your SPL instead of using the time picker using earliest and latest For example: index=ndx sourcetype=srctp ((earliest=-24d latest=-20d) OR (earliest=-10d latest=-6d) | &lt;rest of SPL&gt; from User warren &#8211; Stack Overflow https:\/\/stackoverflow.com\/questions\/70258679\/splunk-enterprise-exclude-certain-time-ranges-for-a-bigger-time-range\/70260840#70260840 via IFTTT<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[4],"tags":[991],"keyring_services":[],"class_list":["post-48461","post","type-post","status-publish","format-standard","hentry","category-blih","tag-stackexchange"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/merikebi.warrenmyers.com\/index.php?rest_route=\/wp\/v2\/posts\/48461","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/merikebi.warrenmyers.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/merikebi.warrenmyers.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/merikebi.warrenmyers.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/merikebi.warrenmyers.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=48461"}],"version-history":[{"count":1,"href":"https:\/\/merikebi.warrenmyers.com\/index.php?rest_route=\/wp\/v2\/posts\/48461\/revisions"}],"predecessor-version":[{"id":48462,"href":"https:\/\/merikebi.warrenmyers.com\/index.php?rest_route=\/wp\/v2\/posts\/48461\/revisions\/48462"}],"wp:attachment":[{"href":"https:\/\/merikebi.warrenmyers.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=48461"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/merikebi.warrenmyers.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=48461"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/merikebi.warrenmyers.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=48461"},{"taxonomy":"keyring_services","embeddable":true,"href":"https:\/\/merikebi.warrenmyers.com\/index.php?rest_route=%2Fwp%2Fv2%2Fkeyring_services&post=48461"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}