<?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 to create a dashboard that lists recently updated dashboards? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-create-a-dashboard-that-lists-recently-updated-dashboards/m-p/307175#M92127</link>
    <description>&lt;P&gt;So if I wanted to use  | REST /services/data/indexes | table title&lt;BR /&gt;
 in my code, how would I go about doing that? Everytime I try to add it I get  "Error in 'rest' command: This command must be the first command of a search."&lt;/P&gt;</description>
    <pubDate>Tue, 23 May 2017 15:08:33 GMT</pubDate>
    <dc:creator>eyaluodba</dc:creator>
    <dc:date>2017-05-23T15:08:33Z</dc:date>
    <item>
      <title>How to create a dashboard that lists recently updated dashboards?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-create-a-dashboard-that-lists-recently-updated-dashboards/m-p/307165#M92117</link>
      <description>&lt;P&gt;my team has a lot of dashboards and I want to create a simple code for another one that groups and lists some of the dashboards that have been recently updated.&lt;/P&gt;

&lt;P&gt;And if so when I search up these updated databases I would like to know the indexes and dataset that these dashboards have.&lt;/P&gt;

&lt;P&gt;Requested Table format Dashboard Name, Index, Timestamp (Shows when the dashboard was last updated)&lt;/P&gt;

&lt;P&gt;Here is the code I have so far. Now sure how to do the rest.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;    &amp;lt;title&amp;gt;Dashboard Search&amp;lt;/title&amp;gt;
    &amp;lt;search id="base"&amp;gt; 
      &amp;lt;query&amp;gt;index=_internal  | table  DashboardName Index Timestamp &amp;lt;/query&amp;gt;
      &amp;lt;earliest&amp;gt;0&amp;lt;/earliest&amp;gt;
      &amp;lt;latest&amp;gt;&amp;lt;/latest&amp;gt;
    &amp;lt;/search&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 22 May 2017 15:37:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-create-a-dashboard-that-lists-recently-updated-dashboards/m-p/307165#M92117</guid>
      <dc:creator>eyaluodba</dc:creator>
      <dc:date>2017-05-22T15:37:42Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a dashboard that lists recently updated dashboards?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-create-a-dashboard-that-lists-recently-updated-dashboards/m-p/307166#M92118</link>
      <description>&lt;P&gt;Use the below search to get the views that are edited, &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=_internal source=*web_access.log* /app/  action=edit | rex  "/app/(?&amp;lt;app_name&amp;gt;.\w+)/(?&amp;lt;dashboard_name&amp;gt;.\w+)" | table _time, user, app_name dashboard_name
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 22 May 2017 17:44:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-create-a-dashboard-that-lists-recently-updated-dashboards/m-p/307166#M92118</guid>
      <dc:creator>vasanthmss</dc:creator>
      <dc:date>2017-05-22T17:44:41Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a dashboard that lists recently updated dashboards?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-create-a-dashboard-that-lists-recently-updated-dashboards/m-p/307167#M92119</link>
      <description>&lt;P&gt;I get a "Error on line 2: Unexpected close tag&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;    &amp;lt;search id="base"&amp;gt; 
      &amp;lt;query&amp;gt; index=_internal source=*web_access.log* /app/  action=edit | rex  "/app/(?&amp;lt;app_name&amp;gt;.\w+)/(?&amp;lt;dashboard_name&amp;gt;.\w+)" | table _time, user, app_name dashboard_name &amp;lt;/query&amp;gt;
      &amp;lt;earliest&amp;gt;0&amp;lt;/earliest&amp;gt;
      &amp;lt;latest&amp;gt;&amp;lt;/latest&amp;gt;
    &amp;lt;/search&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 22 May 2017 18:59:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-create-a-dashboard-that-lists-recently-updated-dashboards/m-p/307167#M92119</guid>
      <dc:creator>eyaluodba</dc:creator>
      <dc:date>2017-05-22T18:59:01Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a dashboard that lists recently updated dashboards?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-create-a-dashboard-that-lists-recently-updated-dashboards/m-p/307168#M92120</link>
      <description>&lt;P&gt;try this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;dashboard&amp;gt;
  &amp;lt;label&amp;gt;Changed Views&amp;lt;/label&amp;gt;
  &amp;lt;row&amp;gt;
    &amp;lt;panel&amp;gt;
      &amp;lt;title&amp;gt;who changed what when&amp;lt;/title&amp;gt;
      &amp;lt;table&amp;gt;
        &amp;lt;search&amp;gt;
          &amp;lt;query&amp;gt;index=_internal source=*web_access.log* /app/  action=edit | rex  "/app/(?&amp;amp;lt;app_name&amp;amp;gt;.\w+)/(?&amp;amp;lt;dashboard_name&amp;amp;gt;.\w+)" | table _time, user, app_name dashboard_name&amp;lt;/query&amp;gt;
          &amp;lt;earliest&amp;gt;-30d@d&amp;lt;/earliest&amp;gt;
          &amp;lt;latest&amp;gt;now&amp;lt;/latest&amp;gt;
          &amp;lt;sampleRatio&amp;gt;1&amp;lt;/sampleRatio&amp;gt;
        &amp;lt;/search&amp;gt;
        &amp;lt;option name="count"&amp;gt;50&amp;lt;/option&amp;gt;
        &amp;lt;option name="dataOverlayMode"&amp;gt;none&amp;lt;/option&amp;gt;
        &amp;lt;option name="drilldown"&amp;gt;cell&amp;lt;/option&amp;gt;
        &amp;lt;option name="percentagesRow"&amp;gt;false&amp;lt;/option&amp;gt;
        &amp;lt;option name="rowNumbers"&amp;gt;false&amp;lt;/option&amp;gt;
        &amp;lt;option name="totalsRow"&amp;gt;false&amp;lt;/option&amp;gt;
        &amp;lt;option name="wrap"&amp;gt;true&amp;lt;/option&amp;gt;
      &amp;lt;/table&amp;gt;
    &amp;lt;/panel&amp;gt;
  &amp;lt;/row&amp;gt;
&amp;lt;/dashboard&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 22 May 2017 19:04:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-create-a-dashboard-that-lists-recently-updated-dashboards/m-p/307168#M92120</guid>
      <dc:creator>adonio</dc:creator>
      <dc:date>2017-05-22T19:04:27Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a dashboard that lists recently updated dashboards?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-create-a-dashboard-that-lists-recently-updated-dashboards/m-p/307169#M92121</link>
      <description>&lt;P&gt;Thank you so much. It worked!&lt;/P&gt;</description>
      <pubDate>Mon, 22 May 2017 19:19:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-create-a-dashboard-that-lists-recently-updated-dashboards/m-p/307169#M92121</guid>
      <dc:creator>eyaluodba</dc:creator>
      <dc:date>2017-05-22T19:19:25Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a dashboard that lists recently updated dashboards?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-create-a-dashboard-that-lists-recently-updated-dashboards/m-p/307170#M92122</link>
      <description>&lt;P&gt;Anyway I can also see the indexes?&lt;/P&gt;</description>
      <pubDate>Mon, 22 May 2017 19:56:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-create-a-dashboard-that-lists-recently-updated-dashboards/m-p/307170#M92122</guid>
      <dc:creator>eyaluodba</dc:creator>
      <dc:date>2017-05-22T19:56:32Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a dashboard that lists recently updated dashboards?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-create-a-dashboard-that-lists-recently-updated-dashboards/m-p/307171#M92123</link>
      <description>&lt;P&gt;do you mean the indexes a search / report / dashboard is using?&lt;/P&gt;</description>
      <pubDate>Mon, 22 May 2017 20:27:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-create-a-dashboard-that-lists-recently-updated-dashboards/m-p/307171#M92123</guid>
      <dc:creator>adonio</dc:creator>
      <dc:date>2017-05-22T20:27:58Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a dashboard that lists recently updated dashboards?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-create-a-dashboard-that-lists-recently-updated-dashboards/m-p/307172#M92124</link>
      <description>&lt;P&gt;Yes, like is there a way I can also add a new column to show the indexes that those databases are using?&lt;/P&gt;</description>
      <pubDate>Mon, 22 May 2017 21:17:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-create-a-dashboard-that-lists-recently-updated-dashboards/m-p/307172#M92124</guid>
      <dc:creator>eyaluodba</dc:creator>
      <dc:date>2017-05-22T21:17:00Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a dashboard that lists recently updated dashboards?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-create-a-dashboard-that-lists-recently-updated-dashboards/m-p/307173#M92125</link>
      <description>&lt;P&gt;@eyaluodba this data is a little more complex to grab as you will need to look at the search.log (in _internal and _audit indexes). it will require couple of steps process. &lt;BR /&gt;
a. understand and capture which searches drives your views and who is the creator (will elaborate) &lt;BR /&gt;
b. what is the syntax of the searches and if it has: index=a OR index=b etc...&lt;BR /&gt;
c. understand the results and the indexes field values &lt;BR /&gt;
d. if the role does not have access to indexes, the search will skip these particular indexes although the search syntax includes them&lt;BR /&gt;
e. with that said, there are couple of answers here that covers some of it:&lt;BR /&gt;
&lt;A href="https://answers.splunk.com/answers/321581/how-to-find-the-most-searched-index-in-splunk.html"&gt;https://answers.splunk.com/answers/321581/how-to-find-the-most-searched-index-in-splunk.html&lt;/A&gt;&lt;BR /&gt;
&lt;A href="https://answers.splunk.com/answers/273176/how-can-i-determine-how-much-an-index-is-being-sea.html"&gt;https://answers.splunk.com/answers/273176/how-can-i-determine-how-much-an-index-is-being-sea.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 23 May 2017 13:07:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-create-a-dashboard-that-lists-recently-updated-dashboards/m-p/307173#M92125</guid>
      <dc:creator>adonio</dc:creator>
      <dc:date>2017-05-23T13:07:56Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a dashboard that lists recently updated dashboards?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-create-a-dashboard-that-lists-recently-updated-dashboards/m-p/307174#M92126</link>
      <description>&lt;P&gt;Thank you so much!&lt;/P&gt;</description>
      <pubDate>Tue, 23 May 2017 13:40:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-create-a-dashboard-that-lists-recently-updated-dashboards/m-p/307174#M92126</guid>
      <dc:creator>eyaluodba</dc:creator>
      <dc:date>2017-05-23T13:40:03Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a dashboard that lists recently updated dashboards?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-create-a-dashboard-that-lists-recently-updated-dashboards/m-p/307175#M92127</link>
      <description>&lt;P&gt;So if I wanted to use  | REST /services/data/indexes | table title&lt;BR /&gt;
 in my code, how would I go about doing that? Everytime I try to add it I get  "Error in 'rest' command: This command must be the first command of a search."&lt;/P&gt;</description>
      <pubDate>Tue, 23 May 2017 15:08:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-create-a-dashboard-that-lists-recently-updated-dashboards/m-p/307175#M92127</guid>
      <dc:creator>eyaluodba</dc:creator>
      <dc:date>2017-05-23T15:08:33Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a dashboard that lists recently updated dashboards?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-create-a-dashboard-that-lists-recently-updated-dashboards/m-p/307176#M92128</link>
      <description>&lt;P&gt;It wants me to put it up first, but when I do it doesn't work.&lt;/P&gt;

&lt;P&gt;index=_internal source=&lt;EM&gt;web_access.log&lt;/EM&gt; /app/  action=edit &lt;BR /&gt;
 | rex  "/app/(?&amp;lt;app_name&amp;gt;.\w+)/(?&amp;lt;dashboard_name&amp;gt;.\w+)"  | table dashboard_name, _time, app_name, user,  &lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 14:10:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-create-a-dashboard-that-lists-recently-updated-dashboards/m-p/307176#M92128</guid>
      <dc:creator>eyaluodba</dc:creator>
      <dc:date>2020-09-29T14:10:50Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a dashboard that lists recently updated dashboards?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-create-a-dashboard-that-lists-recently-updated-dashboards/m-p/307177#M92129</link>
      <description>&lt;P&gt;i think it will be good to open another question.&lt;BR /&gt;
pay attention that the | rest /services/data/indexes only tells you about the indexes configurations and not about how they are being searched &lt;/P&gt;</description>
      <pubDate>Tue, 23 May 2017 15:24:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-create-a-dashboard-that-lists-recently-updated-dashboards/m-p/307177#M92129</guid>
      <dc:creator>adonio</dc:creator>
      <dc:date>2017-05-23T15:24:37Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a dashboard that lists recently updated dashboards?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-create-a-dashboard-that-lists-recently-updated-dashboards/m-p/307178#M92130</link>
      <description>&lt;P&gt;Alright thanks for all your help!&lt;/P&gt;</description>
      <pubDate>Tue, 23 May 2017 15:31:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-create-a-dashboard-that-lists-recently-updated-dashboards/m-p/307178#M92130</guid>
      <dc:creator>eyaluodba</dc:creator>
      <dc:date>2017-05-23T15:31:26Z</dc:date>
    </item>
  </channel>
</rss>

