<?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: How do I find which specific Data Sources are lighting up the different Dashboards? in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-I-find-which-specific-Data-Sources-are-lighting-up-the/m-p/222693#M13821</link>
    <description>&lt;P&gt;Hi @miajay1980&lt;/P&gt;

&lt;P&gt;Can you clarify what you mean by "lighting up" dashboards? Do you mean populating dashboards with data?&lt;/P&gt;</description>
    <pubDate>Thu, 25 Feb 2016 21:20:23 GMT</pubDate>
    <dc:creator>ppablo</dc:creator>
    <dc:date>2016-02-25T21:20:23Z</dc:date>
    <item>
      <title>How do I find which specific Data Sources are lighting up the different Dashboards?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-I-find-which-specific-Data-Sources-are-lighting-up-the/m-p/222692#M13820</link>
      <description>&lt;P&gt;Is there any easy way to see which Data Source lights up specific Dashboards? I am creating documentation, and would like to include the data sources lighting up the different Dashboards.&lt;/P&gt;</description>
      <pubDate>Thu, 25 Feb 2016 20:55:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-I-find-which-specific-Data-Sources-are-lighting-up-the/m-p/222692#M13820</guid>
      <dc:creator>miajay1980</dc:creator>
      <dc:date>2016-02-25T20:55:00Z</dc:date>
    </item>
    <item>
      <title>Re: How do I find which specific Data Sources are lighting up the different Dashboards?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-I-find-which-specific-Data-Sources-are-lighting-up-the/m-p/222693#M13821</link>
      <description>&lt;P&gt;Hi @miajay1980&lt;/P&gt;

&lt;P&gt;Can you clarify what you mean by "lighting up" dashboards? Do you mean populating dashboards with data?&lt;/P&gt;</description>
      <pubDate>Thu, 25 Feb 2016 21:20:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-I-find-which-specific-Data-Sources-are-lighting-up-the/m-p/222693#M13821</guid>
      <dc:creator>ppablo</dc:creator>
      <dc:date>2016-02-25T21:20:23Z</dc:date>
    </item>
    <item>
      <title>Re: How do I find which specific Data Sources are lighting up the different Dashboards?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-I-find-which-specific-Data-Sources-are-lighting-up-the/m-p/222694#M13822</link>
      <description>&lt;P&gt;Following query can give you list of dashboards and corresponding dashboard xml/code. &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| rest /servicesNS/-/-/data/ui/views | table label eai:data | rename eai:data as code 
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Now based on how your dashboard users write searches, you can extract the data sources (index/source/sourcetype) from that field. Following can give you a sample to extract index names&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; | rest /servicesNS/-/-/data/ui/views | table label eai:data | rename eai:data as code | rex field=data max_match=0 "\sindex\s*=\s*(?&amp;lt;indexes&amp;gt;\S+)"
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Now, the users can specify one or more of index/source/sourcetype/eventtypes/tags/macros OR sometime nothing at all (not a good practice), so you can play around by trying to extract different data sources by adding multiple rex commands. &lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;Update&lt;/STRONG&gt;&lt;BR /&gt;
Adding sourcetype extraction, fixing some typos of rex&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; | rest /servicesNS/-/-/data/ui/views | table label eai:data | rename eai:data as code | rex field=code max_match=0 "\sindex\s*=[\s\"]*(?&amp;lt;indexes&amp;gt;[^\s\"]+)" | rex field=code max_match=0 "\ssourcetype\s*=[\s\"]*(?&amp;lt;sourcetypes&amp;gt;[^\s\"]+)"
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 26 Feb 2016 03:46:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-I-find-which-specific-Data-Sources-are-lighting-up-the/m-p/222694#M13822</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2016-02-26T03:46:32Z</dc:date>
    </item>
    <item>
      <title>Re: How do I find which specific Data Sources are lighting up the different Dashboards?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-I-find-which-specific-Data-Sources-are-lighting-up-the/m-p/222695#M13823</link>
      <description>&lt;P&gt;Yes pablo populating the dashboards... I'm trying to compile a list of which source types are populating the dashboards.&lt;/P&gt;</description>
      <pubDate>Mon, 29 Feb 2016 14:39:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-I-find-which-specific-Data-Sources-are-lighting-up-the/m-p/222695#M13823</guid>
      <dc:creator>miajay1980</dc:creator>
      <dc:date>2016-02-29T14:39:31Z</dc:date>
    </item>
    <item>
      <title>Re: How do I find which specific Data Sources are lighting up the different Dashboards?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-I-find-which-specific-Data-Sources-are-lighting-up-the/m-p/222696#M13824</link>
      <description>&lt;P&gt;Somesoni2&lt;/P&gt;

&lt;P&gt;Not sure I completely follow this query.  When I input the query into the search, I do get the XML for the various dashboards, but I dont see the source types that populate the different dashboards. &lt;/P&gt;</description>
      <pubDate>Mon, 29 Feb 2016 14:57:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-I-find-which-specific-Data-Sources-are-lighting-up-the/m-p/222696#M13824</guid>
      <dc:creator>miajay1980</dc:creator>
      <dc:date>2016-02-29T14:57:55Z</dc:date>
    </item>
    <item>
      <title>Re: How do I find which specific Data Sources are lighting up the different Dashboards?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-I-find-which-specific-Data-Sources-are-lighting-up-the/m-p/222697#M13825</link>
      <description>&lt;P&gt;You would need to add extraction logic for sourcetype here (my answer is just extracting index name.)&lt;/P&gt;</description>
      <pubDate>Mon, 29 Feb 2016 16:12:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-I-find-which-specific-Data-Sources-are-lighting-up-the/m-p/222697#M13825</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2016-02-29T16:12:46Z</dc:date>
    </item>
  </channel>
</rss>

