<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Are there any policy on Splunk would block REST API searches? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Are-there-any-policy-on-Splunk-would-block-REST-API-searches/m-p/598164#M208294</link>
    <description>&lt;P&gt;i am trying to search over REST API, seeing "&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;All Time searches don't adhere to Splunk best practices&lt;/STRONG&gt;&lt;/FONT&gt;&lt;STRONG&gt;" &lt;/STRONG&gt;Error.&amp;nbsp; Any policy on Splunk would block REST API searches ?&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;curl -u 'XXXX' -k &lt;A href="https://splunkapi.example.com/services/search/jobs" target="_blank" rel="noopener"&gt;https://splunkapi.example.com/services/search/jobs&lt;/A&gt; -d search='search index="webaccess" status=403 &lt;FONT color="#FF0000"&gt;earliest_time=-1d&lt;/FONT&gt;'&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;curl -u 'XXXX' -k &lt;A href="https://splunkapi.example.com/services/search/jobs" target="_blank" rel="noopener"&gt;https://splunkapi.example.com/services/search/jobs&lt;/A&gt; -d search='search index="webaccess" status=403 &lt;FONT color="#FF0000"&gt;earliest=-1d@d latest=now()&lt;/FONT&gt;'&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;lt;?xml version="1.0" encoding="UTF-8"?&amp;gt;&lt;BR /&gt;&amp;lt;response&amp;gt;&lt;BR /&gt;&amp;lt;messages&amp;gt;&lt;BR /&gt;&lt;STRONG&gt;&amp;lt;msg type="FATAL"&amp;gt;Please reduce your search to a smaller time range. All Time searches don't adhere to Splunk best practices&amp;lt;/msg&amp;gt;&lt;/STRONG&gt;&lt;BR /&gt;&amp;lt;/messages&amp;gt;&lt;BR /&gt;&amp;lt;/response&amp;gt;&lt;/P&gt;</description>
    <pubDate>Tue, 17 May 2022 18:40:55 GMT</pubDate>
    <dc:creator>sunilr8</dc:creator>
    <dc:date>2022-05-17T18:40:55Z</dc:date>
    <item>
      <title>Are there any policy on Splunk would block REST API searches?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Are-there-any-policy-on-Splunk-would-block-REST-API-searches/m-p/598164#M208294</link>
      <description>&lt;P&gt;i am trying to search over REST API, seeing "&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;All Time searches don't adhere to Splunk best practices&lt;/STRONG&gt;&lt;/FONT&gt;&lt;STRONG&gt;" &lt;/STRONG&gt;Error.&amp;nbsp; Any policy on Splunk would block REST API searches ?&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;curl -u 'XXXX' -k &lt;A href="https://splunkapi.example.com/services/search/jobs" target="_blank" rel="noopener"&gt;https://splunkapi.example.com/services/search/jobs&lt;/A&gt; -d search='search index="webaccess" status=403 &lt;FONT color="#FF0000"&gt;earliest_time=-1d&lt;/FONT&gt;'&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;curl -u 'XXXX' -k &lt;A href="https://splunkapi.example.com/services/search/jobs" target="_blank" rel="noopener"&gt;https://splunkapi.example.com/services/search/jobs&lt;/A&gt; -d search='search index="webaccess" status=403 &lt;FONT color="#FF0000"&gt;earliest=-1d@d latest=now()&lt;/FONT&gt;'&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;lt;?xml version="1.0" encoding="UTF-8"?&amp;gt;&lt;BR /&gt;&amp;lt;response&amp;gt;&lt;BR /&gt;&amp;lt;messages&amp;gt;&lt;BR /&gt;&lt;STRONG&gt;&amp;lt;msg type="FATAL"&amp;gt;Please reduce your search to a smaller time range. All Time searches don't adhere to Splunk best practices&amp;lt;/msg&amp;gt;&lt;/STRONG&gt;&lt;BR /&gt;&amp;lt;/messages&amp;gt;&lt;BR /&gt;&amp;lt;/response&amp;gt;&lt;/P&gt;</description>
      <pubDate>Tue, 17 May 2022 18:40:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Are-there-any-policy-on-Splunk-would-block-REST-API-searches/m-p/598164#M208294</guid>
      <dc:creator>sunilr8</dc:creator>
      <dc:date>2022-05-17T18:40:55Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk over REST API</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Are-there-any-policy-on-Splunk-would-block-REST-API-searches/m-p/598167#M208296</link>
      <description>&lt;P&gt;Try specifying timerange as parameters to the rest call, not as parameters within the search.&lt;/P&gt;</description>
      <pubDate>Tue, 17 May 2022 18:26:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Are-there-any-policy-on-Splunk-would-block-REST-API-searches/m-p/598167#M208296</guid>
      <dc:creator>PickleRick</dc:creator>
      <dc:date>2022-05-17T18:26:45Z</dc:date>
    </item>
  </channel>
</rss>

