<?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: List all the dashboards using specific metrics index in Splunk Enterprise</title>
    <link>https://community.splunk.com/t5/Splunk-Enterprise/List-all-the-dashboards-using-specific-metrics-index/m-p/671802#M18121</link>
    <description>&lt;P&gt;There is no good reason why it would not find it if it is present. You should be able to figure out the issue by just finding a single dashboard you know has that expression and running this&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| rest splunk_server="local" "/servicesNS/-/-/data/ui/views" 
| search title="xyz"
| eval match=if(match('eai:data', "(?i)index=murex_metrics", 1, 0)
| table match eai:data&lt;/LI-CODE&gt;&lt;P&gt;replace xyz with your dashboard title and then you will have two columns match and eai:data - match will be 1 or 0 depending if found and you should be able to do a visual check on the data&lt;/P&gt;</description>
    <pubDate>Wed, 13 Dec 2023 21:24:44 GMT</pubDate>
    <dc:creator>bowesmana</dc:creator>
    <dc:date>2023-12-13T21:24:44Z</dc:date>
    <item>
      <title>List all the dashboards using specific metrics index</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/List-all-the-dashboards-using-specific-metrics-index/m-p/670848#M18008</link>
      <description>&lt;P&gt;I would like to find a way to list the dependency between dashboards and indexes.&lt;/P&gt;&lt;P&gt;I'm using the following query to get the list of all the Dashboards using the index Oracle which is an event Index.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| rest splunk_server="local" "/servicesNS/-/-/data/ui/views"
| search "eai:data"="*index=oracle*"
| eval Type="Dashboards"
| table Type title eai:acl.app author eai:acl.perms.read&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;This query is working fine but not for &lt;/SPAN&gt;&lt;STRONG&gt;Metrics index&lt;/STRONG&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Am I missing something ?&lt;/P&gt;</description>
      <pubDate>Tue, 05 Dec 2023 14:41:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/List-all-the-dashboards-using-specific-metrics-index/m-p/670848#M18008</guid>
      <dc:creator>BEN_</dc:creator>
      <dc:date>2023-12-05T14:41:25Z</dc:date>
    </item>
    <item>
      <title>Re: List all the dashboards using specific metrics index</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/List-all-the-dashboards-using-specific-metrics-index/m-p/670914#M18022</link>
      <description>&lt;P&gt;Your search= statement is simply looking for that index=oracle somewhere in the dashboard. If you have &lt;STRONG&gt;index="oracle"&lt;/STRONG&gt; or &lt;STRONG&gt;index = oracle&lt;/STRONG&gt; then it won't match, so it may be better to do a regex where clause, where you do&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;...
| where match('eai:data', "(?i)index\s*(=[\s\"]*|in\s+\([\w,]*)oracle")&lt;/LI-CODE&gt;&lt;P&gt;what is an example of a metrics index search that is not showing up?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 05 Dec 2023 23:00:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/List-all-the-dashboards-using-specific-metrics-index/m-p/670914#M18022</guid>
      <dc:creator>bowesmana</dc:creator>
      <dc:date>2023-12-05T23:00:28Z</dc:date>
    </item>
    <item>
      <title>Re: List all the dashboards using specific metrics index</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/List-all-the-dashboards-using-specific-metrics-index/m-p/671601#M18099</link>
      <description>&lt;P&gt;Thank you for your response. I'm using explicitly the&amp;nbsp;&lt;STRONG&gt;index="oracle"&amp;nbsp;&lt;/STRONG&gt;as an example to confirm when the search works fine for an index event. When I use the same search for Metrics index (replacing&amp;nbsp;&lt;STRONG&gt;index="oracle" by&amp;nbsp;index="murex_metrics")&lt;/STRONG&gt; &amp;nbsp; it doesn't work knowing that we have existent dashboards using this metrics index.&lt;/P&gt;&lt;P&gt;here the&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;example of a metrics index search&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| rest splunk_server="local" "/servicesNS/-/-/data/ui/views" 
| search "eai:data"="*index=murex_metrics*" &lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;thanks&lt;/P&gt;</description>
      <pubDate>Tue, 12 Dec 2023 16:39:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/List-all-the-dashboards-using-specific-metrics-index/m-p/671601#M18099</guid>
      <dc:creator>BEN_</dc:creator>
      <dc:date>2023-12-12T16:39:47Z</dc:date>
    </item>
    <item>
      <title>Re: List all the dashboards using specific metrics index</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/List-all-the-dashboards-using-specific-metrics-index/m-p/671802#M18121</link>
      <description>&lt;P&gt;There is no good reason why it would not find it if it is present. You should be able to figure out the issue by just finding a single dashboard you know has that expression and running this&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| rest splunk_server="local" "/servicesNS/-/-/data/ui/views" 
| search title="xyz"
| eval match=if(match('eai:data', "(?i)index=murex_metrics", 1, 0)
| table match eai:data&lt;/LI-CODE&gt;&lt;P&gt;replace xyz with your dashboard title and then you will have two columns match and eai:data - match will be 1 or 0 depending if found and you should be able to do a visual check on the data&lt;/P&gt;</description>
      <pubDate>Wed, 13 Dec 2023 21:24:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/List-all-the-dashboards-using-specific-metrics-index/m-p/671802#M18121</guid>
      <dc:creator>bowesmana</dc:creator>
      <dc:date>2023-12-13T21:24:44Z</dc:date>
    </item>
    <item>
      <title>Re: List all the dashboards using specific metrics index</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/List-all-the-dashboards-using-specific-metrics-index/m-p/671883#M18128</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;SPAN&gt;bowesmana&lt;/SPAN&gt;,&lt;/P&gt;&lt;P&gt;Yes you are right. The query is working fine for both event and Metrics indexes. the problem was at level of the search filter.&lt;/P&gt;&lt;P&gt;I found that the search in the dashboard contains&lt;FONT color="#FF0000"&gt;&amp;nbsp;""&amp;nbsp;&lt;/FONT&gt;&amp;nbsp;{... WHERE &lt;STRONG&gt;&lt;FONT color="#FF0000"&gt;"&lt;/FONT&gt;index&lt;FONT color="#FF0000"&gt;"&lt;/FONT&gt;=&lt;FONT color="#FF0000"&gt;"&lt;/FONT&gt;murex_metrics&lt;FONT color="#FF0000"&gt;"&lt;/FONT&gt;&lt;/STRONG&gt; AND ... } this explains why the filter in my search "eai:data"="*index=murex_metrics*" didn't return any data.&lt;/P&gt;&lt;P&gt;Thanks again&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 14 Dec 2023 10:55:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/List-all-the-dashboards-using-specific-metrics-index/m-p/671883#M18128</guid>
      <dc:creator>BEN_</dc:creator>
      <dc:date>2023-12-14T10:55:37Z</dc:date>
    </item>
    <item>
      <title>Re: List all the dashboards using specific metrics index</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/List-all-the-dashboards-using-specific-metrics-index/m-p/671887#M18129</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/263072"&gt;@BEN_&lt;/a&gt;&amp;nbsp;- While this covers much of what you are trying to find. It's important to keep in mind that this would not cover all the scenarios. Some example queries would not be covered by the query.&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;index IN (murex_metrics)&lt;/LI&gt;&lt;LI&gt;index=*&lt;/LI&gt;&lt;LI&gt;index=murex*&lt;/LI&gt;&lt;LI&gt;etc&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 14 Dec 2023 12:17:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/List-all-the-dashboards-using-specific-metrics-index/m-p/671887#M18129</guid>
      <dc:creator>VatsalJagani</dc:creator>
      <dc:date>2023-12-14T12:17:09Z</dc:date>
    </item>
  </channel>
</rss>

