<?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 you monitor for when someone creates a new dashboard? in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-you-monitor-for-when-someone-creates-a-new-dashboard/m-p/387464#M25381</link>
    <description>&lt;P&gt;I tried that, i can only see a punch of dashboard that was newly updated. I only want to see newly dashboard &lt;/P&gt;</description>
    <pubDate>Wed, 09 Jan 2019 10:08:21 GMT</pubDate>
    <dc:creator>amirarsalan</dc:creator>
    <dc:date>2019-01-09T10:08:21Z</dc:date>
    <item>
      <title>How do you monitor for when someone creates a new dashboard?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-you-monitor-for-when-someone-creates-a-new-dashboard/m-p/387457#M25374</link>
      <description>&lt;P&gt;Hi! &lt;/P&gt;

&lt;P&gt;I need some help.&lt;/P&gt;

&lt;P&gt;I want to create a dashboard that shows when someone adds a new dashboard in Splunk. &lt;/P&gt;

&lt;P&gt;I have a search that only shows when people make changes, but I need it for when someone creates a new dashboard.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=_internal sourcetype=splunkd_ui_access editxml OR edit method=post ui/views/ 
  | rex field=referer "/(?editx?m?l?)(\?|$)"
  | rex field=other "\s*?\-\s*(?[\S]+)\s*"
  | table _time user clientip sessionId edit_type file useragent
  | rename file as dashboard req_time as editTime
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 07 Jan 2019 10:40:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-you-monitor-for-when-someone-creates-a-new-dashboard/m-p/387457#M25374</guid>
      <dc:creator>amirarsalan</dc:creator>
      <dc:date>2019-01-07T10:40:18Z</dc:date>
    </item>
    <item>
      <title>Re: How do you monitor for when someone creates a new dashboard?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-you-monitor-for-when-someone-creates-a-new-dashboard/m-p/387458#M25375</link>
      <description>&lt;P&gt;Take a look into&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| rest /services/data/ui/views
| search isDashboard="1"
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;hope this helps for further SPL. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;

&lt;P&gt;Skalli&lt;/P&gt;</description>
      <pubDate>Tue, 08 Jan 2019 14:09:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-you-monitor-for-when-someone-creates-a-new-dashboard/m-p/387458#M25375</guid>
      <dc:creator>skalliger</dc:creator>
      <dc:date>2019-01-08T14:09:23Z</dc:date>
    </item>
    <item>
      <title>Re: How do you monitor for when someone creates a new dashboard?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-you-monitor-for-when-someone-creates-a-new-dashboard/m-p/387459#M25376</link>
      <description>&lt;P&gt;Thanks Skalli!&lt;/P&gt;

&lt;P&gt;Do you have another search i can use for that. I'm trying but don't get any answers from that I might do something wrong. I'm a kinde of beginner of using splunk &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;BR /&gt;
Would i still use index=_internal sourcetype=splunkd_ui_access editxml OR edit method=post ui/views/&lt;/P&gt;

&lt;P&gt;/Amir&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 22:36:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-you-monitor-for-when-someone-creates-a-new-dashboard/m-p/387459#M25376</guid>
      <dc:creator>amirarsalan</dc:creator>
      <dc:date>2020-09-29T22:36:33Z</dc:date>
    </item>
    <item>
      <title>Re: How do you monitor for when someone creates a new dashboard?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-you-monitor-for-when-someone-creates-a-new-dashboard/m-p/387460#M25377</link>
      <description>&lt;P&gt;A Splunk search starting with "| rest" has to be at the beginning of the search (or subsearch but let's keep it simple). So you would begin with&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| rest /services/data/ui/views
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;and go from there. &lt;BR /&gt;
You could continue with something like&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| where isDashboard="1" AND isVisible="1"
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;You have different possibilities. Just call the API and take a look what fields are provided. For example, you could count the number of dashboards or take a look at the timestamps.&lt;/P&gt;</description>
      <pubDate>Tue, 08 Jan 2019 14:34:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-you-monitor-for-when-someone-creates-a-new-dashboard/m-p/387460#M25377</guid>
      <dc:creator>skalliger</dc:creator>
      <dc:date>2019-01-08T14:34:54Z</dc:date>
    </item>
    <item>
      <title>Re: How do you monitor for when someone creates a new dashboard?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-you-monitor-for-when-someone-creates-a-new-dashboard/m-p/387461#M25378</link>
      <description>&lt;P&gt;Okey because all our data comes in to the index=_internal so i thought that i should use that&lt;/P&gt;</description>
      <pubDate>Wed, 09 Jan 2019 08:11:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-you-monitor-for-when-someone-creates-a-new-dashboard/m-p/387461#M25378</guid>
      <dc:creator>amirarsalan</dc:creator>
      <dc:date>2019-01-09T08:11:20Z</dc:date>
    </item>
    <item>
      <title>Re: How do you monitor for when someone creates a new dashboard?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-you-monitor-for-when-someone-creates-a-new-dashboard/m-p/387462#M25379</link>
      <description>&lt;P&gt;I tried,&lt;BR /&gt;
| rest /services/data/ui/views&lt;BR /&gt;
| where isDashboard="1" AND isVisible="1"&lt;/P&gt;

&lt;P&gt;Then i tried to create new dashboard to see if something showed up but nothing showed up&lt;/P&gt;</description>
      <pubDate>Wed, 09 Jan 2019 08:23:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-you-monitor-for-when-someone-creates-a-new-dashboard/m-p/387462#M25379</guid>
      <dc:creator>amirarsalan</dc:creator>
      <dc:date>2019-01-09T08:23:08Z</dc:date>
    </item>
    <item>
      <title>Re: How do you monitor for when someone creates a new dashboard?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-you-monitor-for-when-someone-creates-a-new-dashboard/m-p/387463#M25380</link>
      <description>&lt;P&gt;If you add &lt;CODE&gt;| table title updated&lt;/CODE&gt; after running your search &lt;/P&gt;

&lt;P&gt;new search:  &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| rest /services/data/ui/views
| where isDashboard="1" AND isVisible="1"
| table title updated
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I can see my newly added dashboards.&lt;/P&gt;</description>
      <pubDate>Wed, 09 Jan 2019 09:31:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-you-monitor-for-when-someone-creates-a-new-dashboard/m-p/387463#M25380</guid>
      <dc:creator>dkeck</dc:creator>
      <dc:date>2019-01-09T09:31:40Z</dc:date>
    </item>
    <item>
      <title>Re: How do you monitor for when someone creates a new dashboard?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-you-monitor-for-when-someone-creates-a-new-dashboard/m-p/387464#M25381</link>
      <description>&lt;P&gt;I tried that, i can only see a punch of dashboard that was newly updated. I only want to see newly dashboard &lt;/P&gt;</description>
      <pubDate>Wed, 09 Jan 2019 10:08:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-you-monitor-for-when-someone-creates-a-new-dashboard/m-p/387464#M25381</guid>
      <dc:creator>amirarsalan</dc:creator>
      <dc:date>2019-01-09T10:08:21Z</dc:date>
    </item>
    <item>
      <title>Re: How do you monitor for when someone creates a new dashboard?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-you-monitor-for-when-someone-creates-a-new-dashboard/m-p/387465#M25382</link>
      <description>&lt;P&gt;Ok I see.&lt;/P&gt;

&lt;P&gt;Please try :&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| rest splunk_server=local /services/data/ui/views
| where isDashboard="1" AND isVisible="1"
| rename eai:acl.app as app
| eval first_seen=now()
| table app title first_seen
| inputlookup append=t first_seen_dashboard.csv
| stats min(first_seen) as first_seen by app title
| outputlookup first_seen_dashboard.csv
| where first_seen=now()
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;You can set up an alert with this search OR leave out the last where and set up a new search to search the lookup for dashboards you haven´t seen in the last week e.g.&lt;/P&gt;</description>
      <pubDate>Wed, 09 Jan 2019 10:49:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-you-monitor-for-when-someone-creates-a-new-dashboard/m-p/387465#M25382</guid>
      <dc:creator>dkeck</dc:creator>
      <dc:date>2019-01-09T10:49:47Z</dc:date>
    </item>
    <item>
      <title>Re: How do you monitor for when someone creates a new dashboard?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-you-monitor-for-when-someone-creates-a-new-dashboard/m-p/387466#M25383</link>
      <description>&lt;P&gt;I tried it and i got respond this time with a lot of  dashboards, then i tired to create a new dashboard but nothing showed up &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 09 Jan 2019 11:12:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-you-monitor-for-when-someone-creates-a-new-dashboard/m-p/387466#M25383</guid>
      <dc:creator>amirarsalan</dc:creator>
      <dc:date>2019-01-09T11:12:46Z</dc:date>
    </item>
    <item>
      <title>Re: How do you monitor for when someone creates a new dashboard?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-you-monitor-for-when-someone-creates-a-new-dashboard/m-p/387467#M25384</link>
      <description>&lt;P&gt;I forgot to say, I only get respons on the search when i put&lt;BR /&gt;&lt;BR /&gt;
 | rest splunk_server=local /services/data/ui/views&lt;BR /&gt;
 | where isDashboard="1" AND isVisible="1"&lt;BR /&gt;
 | rename eai:acl.app as app&lt;BR /&gt;
 | eval first_seen=now()&lt;BR /&gt;
 | table app title first_seen&lt;BR /&gt;
 | inputlookup append=t first_seen_dashboard.csv&lt;BR /&gt;
 | stats min(first_seen) as first_seen by app title&lt;BR /&gt;
 | outputlookup first_seen_dashboard.csv&lt;/P&gt;

&lt;P&gt;With | where first_seen=now() i don't get any respons &lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 22:40:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-you-monitor-for-when-someone-creates-a-new-dashboard/m-p/387467#M25384</guid>
      <dc:creator>amirarsalan</dc:creator>
      <dc:date>2020-09-29T22:40:34Z</dc:date>
    </item>
    <item>
      <title>Re: How do you monitor for when someone creates a new dashboard?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-you-monitor-for-when-someone-creates-a-new-dashboard/m-p/387468#M25385</link>
      <description>&lt;P&gt;Its normal that you get all dashboards on the fist time you enter the search ( for the search they are all new). Second time there should be no results, except you created a new one in between.&lt;/P&gt;</description>
      <pubDate>Wed, 09 Jan 2019 11:58:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-you-monitor-for-when-someone-creates-a-new-dashboard/m-p/387468#M25385</guid>
      <dc:creator>dkeck</dc:creator>
      <dc:date>2019-01-09T11:58:50Z</dc:date>
    </item>
    <item>
      <title>Re: How do you monitor for when someone creates a new dashboard?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-you-monitor-for-when-someone-creates-a-new-dashboard/m-p/387469#M25386</link>
      <description>&lt;P&gt;Aha then i understand, because i got results first time i run the search and not the second time. &lt;BR /&gt;
But after that i created i new dashboard but still i did not get any results&lt;/P&gt;</description>
      <pubDate>Wed, 09 Jan 2019 13:08:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-you-monitor-for-when-someone-creates-a-new-dashboard/m-p/387469#M25386</guid>
      <dc:creator>amirarsalan</dc:creator>
      <dc:date>2019-01-09T13:08:56Z</dc:date>
    </item>
    <item>
      <title>Re: How do you monitor for when someone creates a new dashboard?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-you-monitor-for-when-someone-creates-a-new-dashboard/m-p/387470#M25387</link>
      <description>&lt;P&gt;in my test box it´s working.&lt;/P&gt;

&lt;P&gt;Does the new dashboard show up in the rest call itself? &lt;BR /&gt;
    | rest splunk_server=local /services/data/ui/views&lt;BR /&gt;
    | where isDashboard="1" AND isVisible="1"&lt;/P&gt;

&lt;P&gt;Please perform the search step by step and try to figure out at which point your new dashboard can´t be found / is it wirtten to the lookup? etc.&lt;/P&gt;</description>
      <pubDate>Wed, 09 Jan 2019 13:11:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-you-monitor-for-when-someone-creates-a-new-dashboard/m-p/387470#M25387</guid>
      <dc:creator>dkeck</dc:creator>
      <dc:date>2019-01-09T13:11:16Z</dc:date>
    </item>
    <item>
      <title>Re: How do you monitor for when someone creates a new dashboard?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-you-monitor-for-when-someone-creates-a-new-dashboard/m-p/387471#M25388</link>
      <description>&lt;P&gt;I can only see my old dashboards&lt;/P&gt;</description>
      <pubDate>Wed, 09 Jan 2019 13:54:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-you-monitor-for-when-someone-creates-a-new-dashboard/m-p/387471#M25388</guid>
      <dc:creator>amirarsalan</dc:creator>
      <dc:date>2019-01-09T13:54:28Z</dc:date>
    </item>
    <item>
      <title>Re: How do you monitor for when someone creates a new dashboard?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-you-monitor-for-when-someone-creates-a-new-dashboard/m-p/387472#M25389</link>
      <description>&lt;P&gt;sounds more like a permission issue, the search is working&lt;/P&gt;</description>
      <pubDate>Wed, 09 Jan 2019 13:58:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-you-monitor-for-when-someone-creates-a-new-dashboard/m-p/387472#M25389</guid>
      <dc:creator>dkeck</dc:creator>
      <dc:date>2019-01-09T13:58:51Z</dc:date>
    </item>
    <item>
      <title>Re: How do you monitor for when someone creates a new dashboard?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-you-monitor-for-when-someone-creates-a-new-dashboard/m-p/387473#M25390</link>
      <description>&lt;P&gt;I have superadmin, i can see other users dashboard when i use the search and my own dashboards but not the new ones i created &lt;/P&gt;</description>
      <pubDate>Wed, 09 Jan 2019 14:51:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-you-monitor-for-when-someone-creates-a-new-dashboard/m-p/387473#M25390</guid>
      <dc:creator>amirarsalan</dc:creator>
      <dc:date>2019-01-09T14:51:06Z</dc:date>
    </item>
    <item>
      <title>Re: How do you monitor for when someone creates a new dashboard?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-you-monitor-for-when-someone-creates-a-new-dashboard/m-p/387474#M25391</link>
      <description>&lt;P&gt;Hi dkeck, &lt;/P&gt;

&lt;P&gt;I found another search&lt;/P&gt;

&lt;P&gt;| rest /servicesNS/-/-/data/ui/views | table author title eai:acl.app label | eval Type="Dashboards" | rename author as Owner title as Name eai:acl.app as AppName&lt;/P&gt;

&lt;P&gt;Now i can see my all dashboards also my own. &lt;/P&gt;

&lt;P&gt;Can you help me now with that search? I only want to see when some person create a new dashboard. My search shows all our dashboards&lt;/P&gt;</description>
      <pubDate>Fri, 11 Jan 2019 14:29:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-you-monitor-for-when-someone-creates-a-new-dashboard/m-p/387474#M25391</guid>
      <dc:creator>amirarsalan</dc:creator>
      <dc:date>2019-01-11T14:29:52Z</dc:date>
    </item>
    <item>
      <title>Re: How do you monitor for when someone creates a new dashboard?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-you-monitor-for-when-someone-creates-a-new-dashboard/m-p/387475#M25392</link>
      <description>&lt;P&gt;@amirarsalan rest API is the key however, you would also need lookup file to compare with a dashboard inventory list. PS: while using rest api make sure you filter out results from specific app/s as per your needs (also other filters if applicable like specific user/specific dashboard naming convention, specific permissions etc)&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;Step 1:&lt;/STRONG&gt; Run the above search once and pipe outputlookup for saving to a lookupfile as &lt;CODE&gt;available dashboard inventory list&lt;/CODE&gt; lets say &lt;CODE&gt;dashboards_inventory.csv&lt;/CODE&gt;.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| rest splunk_server="local" "/servicesNS/-/-/data/ui/views" 
| search isDashboard="1" AND isVisible="1"
| eval Check_Date = now() 
| stats last(Check_Date) as Check_Date by title eai:acl.app author
| outputlookup dashboards_inventory.csv 
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;PS: This query would need to be run only once.&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;Step 2:&lt;/STRONG&gt; Schedule an alert (based on frequency as per your use case, ideally daily once) to run above REST API and compare with available dashboard inventory list. This alert will take required alert action, like send out email or anything else as per your use case. &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| rest splunk_server="local" "/servicesNS/-/-/data/ui/views" 
| search isDashboard="1" AND isVisible="1" NOT title IN 
    (
      [| inputlookup dashboards_inventory.csv 
       | fields title 
       | stats values(title) as title 
       | eval search ="\"".mvjoin(title,"\",\"")."\"" 
       | table search]
    )
| fields title label author eai:acl.app 
| eval Check_Date = now() 
| stats last(Check_Date) as Check_Date by title eai:acl.app author
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;&lt;STRONG&gt;Step 3:&lt;/STRONG&gt; If there is any additional Dashboard trigger the alert and &lt;CODE&gt;also trigger an append output to lookup Alert action&lt;/CODE&gt; to update existing available dashboard inventory list. Refer to documentation: &lt;A href="https://docs.splunk.com/Documentation/Splunk/latest/Alert/OutputToCSVLookup"&gt;https://docs.splunk.com/Documentation/Splunk/latest/Alert/OutputToCSVLookup&lt;/A&gt;&lt;BR /&gt;
Please try out and confirm if the approach works for you!&lt;/P&gt;</description>
      <pubDate>Sun, 13 Jan 2019 18:09:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-you-monitor-for-when-someone-creates-a-new-dashboard/m-p/387475#M25392</guid>
      <dc:creator>niketn</dc:creator>
      <dc:date>2019-01-13T18:09:54Z</dc:date>
    </item>
    <item>
      <title>Re: How do you monitor for when someone creates a new dashboard?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-you-monitor-for-when-someone-creates-a-new-dashboard/m-p/387476#M25393</link>
      <description>&lt;P&gt;Hi!&lt;BR /&gt;
I have this search&lt;CODE&gt;| rest /servicesNS/-/-/data/ui/views | table author title eai:acl.app label | eval Type="Dashboards" | rename author as Owner title as Name eai:acl.app as AppName&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;How do i create an alert when someone creates a new dashboard. Can i use this search?&lt;/P&gt;</description>
      <pubDate>Mon, 14 Jan 2019 08:16:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-you-monitor-for-when-someone-creates-a-new-dashboard/m-p/387476#M25393</guid>
      <dc:creator>amirarsalan</dc:creator>
      <dc:date>2019-01-14T08:16:00Z</dc:date>
    </item>
  </channel>
</rss>

