<?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 Minimize the chances of developers breaking Splunk reports / dashboards in Reporting</title>
    <link>https://community.splunk.com/t5/Reporting/Minimize-the-chances-of-developers-breaking-Splunk-reports/m-p/232060#M10073</link>
    <description>&lt;P&gt;I would ideally like to catch the chances of developers breaking splunk dashboards/ reports at an early stage in the development life cycle (may at unit testing/integration testing stage) . Is there a way Splunk exposes what fields it used in a report or dashboard through some api so that I can write some unit tests to make sure we are still sending the fields etc.?&lt;/P&gt;</description>
    <pubDate>Wed, 18 Jan 2017 10:23:58 GMT</pubDate>
    <dc:creator>rajivchadha</dc:creator>
    <dc:date>2017-01-18T10:23:58Z</dc:date>
    <item>
      <title>Minimize the chances of developers breaking Splunk reports / dashboards</title>
      <link>https://community.splunk.com/t5/Reporting/Minimize-the-chances-of-developers-breaking-Splunk-reports/m-p/232060#M10073</link>
      <description>&lt;P&gt;I would ideally like to catch the chances of developers breaking splunk dashboards/ reports at an early stage in the development life cycle (may at unit testing/integration testing stage) . Is there a way Splunk exposes what fields it used in a report or dashboard through some api so that I can write some unit tests to make sure we are still sending the fields etc.?&lt;/P&gt;</description>
      <pubDate>Wed, 18 Jan 2017 10:23:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/Minimize-the-chances-of-developers-breaking-Splunk-reports/m-p/232060#M10073</guid>
      <dc:creator>rajivchadha</dc:creator>
      <dc:date>2017-01-18T10:23:58Z</dc:date>
    </item>
    <item>
      <title>Re: Minimize the chances of developers breaking Splunk reports / dashboards</title>
      <link>https://community.splunk.com/t5/Reporting/Minimize-the-chances-of-developers-breaking-Splunk-reports/m-p/232061#M10074</link>
      <description>&lt;P&gt;As far as I know, there is not a readily available or unified testing API for dashboards or apps in Splunk. You would likely have to take a similar approach taken in Splunk's own example shown here (&lt;A href="http://dev.splunk.com/view/SP-CAAAE2V#Platformandtools:akitbagforourjourney-Automatingadvancedcontrols"&gt;http://dev.splunk.com/view/SP-CAAAE2V#Platformandtools:akitbagforourjourney-Automatingadvancedcontrols&lt;/A&gt;) and write some test automation tools using one of the SDKs (Java, Python, or C#). You would also need a tool like Eventgen (&lt;A href="https://splunkbase.splunk.com/app/1924/"&gt;https://splunkbase.splunk.com/app/1924/&lt;/A&gt;) to create sample data on a regular basis.&lt;/P&gt;

&lt;P&gt;If all you care about is specific functionality of certain reports or searches, you could try coming up with a simpler mechanism using the REST API and a known sample data set to see if the returned results are changing. This would only be testing the searches and data, not dashboards and interactivity.&lt;/P&gt;</description>
      <pubDate>Wed, 18 Jan 2017 12:31:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/Minimize-the-chances-of-developers-breaking-Splunk-reports/m-p/232061#M10074</guid>
      <dc:creator>rjthibod</dc:creator>
      <dc:date>2017-01-18T12:31:30Z</dc:date>
    </item>
    <item>
      <title>Re: Minimize the chances of developers breaking Splunk reports / dashboards</title>
      <link>https://community.splunk.com/t5/Reporting/Minimize-the-chances-of-developers-breaking-Splunk-reports/m-p/232062#M10075</link>
      <description>&lt;P&gt;thanks, will take a look&lt;/P&gt;</description>
      <pubDate>Wed, 18 Jan 2017 17:12:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/Minimize-the-chances-of-developers-breaking-Splunk-reports/m-p/232062#M10075</guid>
      <dc:creator>rajivchadha</dc:creator>
      <dc:date>2017-01-18T17:12:09Z</dc:date>
    </item>
  </channel>
</rss>

