<?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 Can I get Splunk user activity alerts that include dashboard used? in Security</title>
    <link>https://community.splunk.com/t5/Security/Can-I-get-Splunk-user-activity-alerts-that-include-dashboard/m-p/419889#M9960</link>
    <description>&lt;P&gt;Current:&lt;BR /&gt;
 &lt;CODE&gt;index=_audit user!="splunk-system-user" user!="n/a" user!="MYUSER" user!=testuser* (action="login attempt") OR (search!="" search_id!="'scheduler*" search_id!="scheduler*" search_id!="'subsearch*") | sort - _time | table user host action info search _time&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;Works well, but many times searches are similar across dashboards and I can't easily tell what dashboard my users are using. Is it possible to add dashboard_name to these alerts? I don't see it anywhere in the _raw for these events in _audit. Currently the only solution I can think of is to mod every back-end search (probably a hundred of them across all my dashboards) with the dashboard name so it can be rexed out... obviously that's an incredibly inelegant approach&lt;/P&gt;</description>
    <pubDate>Thu, 18 Apr 2019 22:18:16 GMT</pubDate>
    <dc:creator>nick405060</dc:creator>
    <dc:date>2019-04-18T22:18:16Z</dc:date>
    <item>
      <title>Can I get Splunk user activity alerts that include dashboard used?</title>
      <link>https://community.splunk.com/t5/Security/Can-I-get-Splunk-user-activity-alerts-that-include-dashboard/m-p/419889#M9960</link>
      <description>&lt;P&gt;Current:&lt;BR /&gt;
 &lt;CODE&gt;index=_audit user!="splunk-system-user" user!="n/a" user!="MYUSER" user!=testuser* (action="login attempt") OR (search!="" search_id!="'scheduler*" search_id!="scheduler*" search_id!="'subsearch*") | sort - _time | table user host action info search _time&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;Works well, but many times searches are similar across dashboards and I can't easily tell what dashboard my users are using. Is it possible to add dashboard_name to these alerts? I don't see it anywhere in the _raw for these events in _audit. Currently the only solution I can think of is to mod every back-end search (probably a hundred of them across all my dashboards) with the dashboard name so it can be rexed out... obviously that's an incredibly inelegant approach&lt;/P&gt;</description>
      <pubDate>Thu, 18 Apr 2019 22:18:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/Can-I-get-Splunk-user-activity-alerts-that-include-dashboard/m-p/419889#M9960</guid>
      <dc:creator>nick405060</dc:creator>
      <dc:date>2019-04-18T22:18:16Z</dc:date>
    </item>
    <item>
      <title>Re: Can I get Splunk user activity alerts that include dashboard used?</title>
      <link>https://community.splunk.com/t5/Security/Can-I-get-Splunk-user-activity-alerts-that-include-dashboard/m-p/419890#M9961</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;

&lt;P&gt;for dashboard usage activity &lt;/P&gt;

&lt;P&gt;Please use this search, the results also gives user name as well &lt;span class="lia-inline-image-display-wrapper" image-alt="alt text"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/6920i1E70CF51CF2F0628/image-size/large?v=v2&amp;amp;px=999" role="button" title="alt text" alt="alt text" /&gt;&lt;/span&gt;&lt;/P&gt;

&lt;P&gt;in the above search "my_test" is dashboard's name which you see in URL when you open the dashboard.&lt;/P&gt;

&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Fri, 19 Apr 2019 00:13:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/Can-I-get-Splunk-user-activity-alerts-that-include-dashboard/m-p/419890#M9961</guid>
      <dc:creator>PowerPacked</dc:creator>
      <dc:date>2019-04-19T00:13:44Z</dc:date>
    </item>
    <item>
      <title>Re: Can I get Splunk user activity alerts that include dashboard used?</title>
      <link>https://community.splunk.com/t5/Security/Can-I-get-Splunk-user-activity-alerts-that-include-dashboard/m-p/419891#M9962</link>
      <description>&lt;P&gt;GREAT. I modded it to make a bit more usable/readable, and added it to my _audit search, to make my overall user_activity alert be:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;(index=_internal sourcetype=splunkd_ui_access uri_path="/en-US/app*") OR (index=_audit AND action="login attempt" OR (search!="" search_id!="'scheduler*"  search_id!="scheduler*" search_id!="'subsearch*")) user!="splunk-system-user" user!="n/a" user!="ME" user!=testuser* | eval sortable_time=_time | eval time=strftime(sortable_time,"%Y-%m-%d %H:%M:%S") |
streamstats count as temp_count | stats values(*) as * by temp_count | fields - temp_count | table time user action info search clientip uri_path file earliest latest form_*  | fields - _raw form_message_id form_remote_search_tok
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 30 Sep 2020 00:12:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/Can-I-get-Splunk-user-activity-alerts-that-include-dashboard/m-p/419891#M9962</guid>
      <dc:creator>nick405060</dc:creator>
      <dc:date>2020-09-30T00:12:32Z</dc:date>
    </item>
  </channel>
</rss>

