<?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 Dashboard views by user using REST &amp; index=_internal in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Dashboard-views-by-user-using-REST-index-internal/m-p/243561#M72497</link>
    <description>&lt;P&gt;I'd like to search dashboard views by user, which is stored in index=_internal. REST allows me to limit results using the isDashboard = 1 parameter. Is there a way to join this REST call to index=_internal so I can see dashboard usage without explicitly having to list or exclude dashboard objects in index=_internal?&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=_internal sourcetype=splunk_web_access
| join title type=inner [rest /servicesNS/-/-/data/ui/views | search isDashboard=1 isVisible=1] 
| stats count by app, view, user
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Tue, 29 Sep 2020 07:57:41 GMT</pubDate>
    <dc:creator>mgianola</dc:creator>
    <dc:date>2020-09-29T07:57:41Z</dc:date>
    <item>
      <title>Dashboard views by user using REST &amp; index=_internal</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Dashboard-views-by-user-using-REST-index-internal/m-p/243561#M72497</link>
      <description>&lt;P&gt;I'd like to search dashboard views by user, which is stored in index=_internal. REST allows me to limit results using the isDashboard = 1 parameter. Is there a way to join this REST call to index=_internal so I can see dashboard usage without explicitly having to list or exclude dashboard objects in index=_internal?&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=_internal sourcetype=splunk_web_access
| join title type=inner [rest /servicesNS/-/-/data/ui/views | search isDashboard=1 isVisible=1] 
| stats count by app, view, user
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 29 Sep 2020 07:57:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Dashboard-views-by-user-using-REST-index-internal/m-p/243561#M72497</guid>
      <dc:creator>mgianola</dc:creator>
      <dc:date>2020-09-29T07:57:41Z</dc:date>
    </item>
    <item>
      <title>Re: Dashboard views by user using REST &amp; index=_internal</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Dashboard-views-by-user-using-REST-index-internal/m-p/243562#M72498</link>
      <description>&lt;P&gt;Looks like this can be solved using rex:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=_internal sourcetype=splunk_web_access
| rex field=uri_path ".*/(?&amp;lt;title&amp;gt;[^/]*)$"
| join title [rest /servicesNS/-/-/data/ui/views 
| search isDashboard=1 isVisible=1
| stats count by app, view, user
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 25 Nov 2015 19:37:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Dashboard-views-by-user-using-REST-index-internal/m-p/243562#M72498</guid>
      <dc:creator>mgianola</dc:creator>
      <dc:date>2015-11-25T19:37:47Z</dc:date>
    </item>
    <item>
      <title>Re: Dashboard views by user using REST &amp; index=_internal</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Dashboard-views-by-user-using-REST-index-internal/m-p/243563#M72499</link>
      <description>&lt;P&gt;I don't think this is working anymore!&lt;/P&gt;</description>
      <pubDate>Tue, 30 Jan 2018 13:46:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Dashboard-views-by-user-using-REST-index-internal/m-p/243563#M72499</guid>
      <dc:creator>jagadeeshm</dc:creator>
      <dc:date>2018-01-30T13:46:12Z</dc:date>
    </item>
    <item>
      <title>Re: Dashboard views by user using REST &amp; index=_internal</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Dashboard-views-by-user-using-REST-index-internal/m-p/243564#M72500</link>
      <description>&lt;P&gt;No, it looks like all the fields got updated. Here's a version that works for me:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=_internal sourcetype=splunk_web_access host=&amp;lt;SEARCH HEAD&amp;gt; user=&amp;lt;USER&amp;gt; 
| rex field=uri_path ".*/(?&amp;lt;title&amp;gt;[^/]*)$" 
| join title app
    [| rest /servicesNS/-/-/data/ui/views splunk_server=local
    | search isDashboard=1 isVisible=1 
    | rename eai:acl.app as app 
    | stats count by title app 
    | fields - count ]
| table _time user title app
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 12 Apr 2018 09:04:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Dashboard-views-by-user-using-REST-index-internal/m-p/243564#M72500</guid>
      <dc:creator>althomas</dc:creator>
      <dc:date>2018-04-12T09:04:24Z</dc:date>
    </item>
  </channel>
</rss>

