<?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 Re: Can't figure out how to POST a Report in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Can-t-figure-out-how-to-POST-a-Report/m-p/650413#M110520</link>
    <description>&lt;P&gt;Does anyone have a working example?&lt;/P&gt;&lt;P&gt;Some of the parameters of the URL I don't understand 'App' (what is an example of an App?); why is it being uploaded to "search" when it's an alert?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Where are these stored in the file system? I can't find them.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 13 Jul 2023 15:34:20 GMT</pubDate>
    <dc:creator>gerrysr6</dc:creator>
    <dc:date>2023-07-13T15:34:20Z</dc:date>
    <item>
      <title>Can't figure out how to POST a Report</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Can-t-figure-out-how-to-POST-a-Report/m-p/649882#M110443</link>
      <description>&lt;P&gt;I'm stuck with an old Splunk system 8.1.5 and trying to move Alerts and Reports to a new system (9 something).&amp;nbsp;&lt;/P&gt;&lt;P&gt;I figured maybe I could use the API, GET works:&lt;/P&gt;&lt;PRE&gt;curl -k -u myusername:mypassword https://vs-iapp001.local:8089/services/saved/searches/GerrysTestReport -H "Authorization: Bearer mytoken"&lt;/PRE&gt;&lt;P&gt;which returns a &lt;STRONG&gt;lot&lt;/STRONG&gt; of XML that I save in a file called GerrysTestReport.xml&lt;/P&gt;&lt;P&gt;Then I deleted my report and now I'm trying to recreate it using POST&lt;/P&gt;&lt;PRE&gt;curl -X POST -k -u myusername:mypassword https://vs-iapp001.local:8089/servicesNS/splunk/App/saved/searches/_new/GerrysTestReport -H "Authorization: Bearer mytoken" --data-urlencode @GerrysTestReport.xml&lt;/PRE&gt;&lt;P&gt;Unfortunately it just returns errors like "Action forbidden"&lt;/P&gt;&lt;P&gt;The parameters URL are just too complicated to figure out, and I have tried many, many combinations. Nothing works. My account is an admin account and I have every available privilege&lt;/P&gt;</description>
      <pubDate>Mon, 10 Jul 2023 18:26:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Can-t-figure-out-how-to-POST-a-Report/m-p/649882#M110443</guid>
      <dc:creator>gerrysr6</dc:creator>
      <dc:date>2023-07-10T18:26:27Z</dc:date>
    </item>
    <item>
      <title>Re: Can't figure out how to POST a Report</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Can-t-figure-out-how-to-POST-a-Report/m-p/650413#M110520</link>
      <description>&lt;P&gt;Does anyone have a working example?&lt;/P&gt;&lt;P&gt;Some of the parameters of the URL I don't understand 'App' (what is an example of an App?); why is it being uploaded to "search" when it's an alert?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Where are these stored in the file system? I can't find them.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Jul 2023 15:34:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Can-t-figure-out-how-to-POST-a-Report/m-p/650413#M110520</guid>
      <dc:creator>gerrysr6</dc:creator>
      <dc:date>2023-07-13T15:34:20Z</dc:date>
    </item>
  </channel>
</rss>

