<?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 I get the iframe embed URL for a report via the REST API? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Can-I-get-the-iframe-embed-URL-for-a-report-via-the-REST-API/m-p/521658#M88135</link>
    <description>&lt;P&gt;I don't believe this is correct anymore for current releases of Splunk.&amp;nbsp; The embed URL has changed drastically.&lt;/P&gt;</description>
    <pubDate>Sun, 27 Sep 2020 21:59:12 GMT</pubDate>
    <dc:creator>andygerberkp</dc:creator>
    <dc:date>2020-09-27T21:59:12Z</dc:date>
    <item>
      <title>Can I get the iframe embed URL for a report via the REST API?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Can-I-get-the-iframe-embed-URL-for-a-report-via-the-REST-API/m-p/244936#M47363</link>
      <description>&lt;P&gt;I'm hoping to build a product that allows users to easily select a report from their Splunk instance and embed it in a page. Is it possible to either retrieve or generate the iframe embed URL for a report from the REST API? Optionally, can I enable embedding for a report through the REST API?&lt;/P&gt;</description>
      <pubDate>Tue, 22 Nov 2016 17:21:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Can-I-get-the-iframe-embed-URL-for-a-report-via-the-REST-API/m-p/244936#M47363</guid>
      <dc:creator>sjodle</dc:creator>
      <dc:date>2016-11-22T17:21:02Z</dc:date>
    </item>
    <item>
      <title>Re: Can I get the iframe embed URL for a report via the REST API?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Can-I-get-the-iframe-embed-URL-for-a-report-via-the-REST-API/m-p/244937#M47364</link>
      <description>&lt;P&gt;Turns out the answer is yes to both.&lt;/P&gt;

&lt;P&gt;For a report that's already set up for embedding, the URL scheme is &lt;CODE&gt;&lt;A href="http://&amp;lt;host&amp;gt;:8000/embed?s=/servicesNS/&amp;lt;owner&amp;gt;/&amp;lt;app&amp;gt;/saved/searches/&amp;lt;search" target="test_blank"&gt;http://&amp;lt;host&amp;gt;:8000/embed?s=/servicesNS/&amp;lt;owner&amp;gt;/&amp;lt;app&amp;gt;/saved/searches/&amp;lt;search&lt;/A&gt; name&amp;gt;&amp;amp;oid=&amp;lt;token&amp;gt;&lt;/CODE&gt;. The "token" is retrievable via the "embed.token" attribute of the scheduled search, visible in the REST API.&lt;/P&gt;

&lt;P&gt;To enable embedding of a report, assuming it's already been scheduled, simply POST to &lt;CODE&gt;&lt;A href="https://&amp;lt;host&amp;gt;:8089/servicesNS/&amp;lt;owner&amp;gt;/&amp;lt;app&amp;gt;/saved/searches/&amp;lt;search" target="test_blank"&gt;https://&amp;lt;host&amp;gt;:8089/servicesNS/&amp;lt;owner&amp;gt;/&amp;lt;app&amp;gt;/saved/searches/&amp;lt;search&lt;/A&gt; name&amp;gt;/embed&lt;/CODE&gt;.&lt;/P&gt;</description>
      <pubDate>Tue, 22 Nov 2016 17:53:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Can-I-get-the-iframe-embed-URL-for-a-report-via-the-REST-API/m-p/244937#M47364</guid>
      <dc:creator>sjodle</dc:creator>
      <dc:date>2016-11-22T17:53:35Z</dc:date>
    </item>
    <item>
      <title>Re: Can I get the iframe embed URL for a report via the REST API?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Can-I-get-the-iframe-embed-URL-for-a-report-via-the-REST-API/m-p/521658#M88135</link>
      <description>&lt;P&gt;I don't believe this is correct anymore for current releases of Splunk.&amp;nbsp; The embed URL has changed drastically.&lt;/P&gt;</description>
      <pubDate>Sun, 27 Sep 2020 21:59:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Can-I-get-the-iframe-embed-URL-for-a-report-via-the-REST-API/m-p/521658#M88135</guid>
      <dc:creator>andygerberkp</dc:creator>
      <dc:date>2020-09-27T21:59:12Z</dc:date>
    </item>
  </channel>
</rss>

