<?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 can I display the current users metric index and their access permissions? in Security</title>
    <link>https://community.splunk.com/t5/Security/How-can-I-display-the-current-users-metric-index-and-their/m-p/437243#M10253</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;your SPL-Statement will show all the metrics in one index.&lt;/P&gt;

&lt;P&gt;What i want: &lt;BR /&gt;
- List all metric indexes which exists&lt;BR /&gt;
- List all metric indexes which the currently logged in user has access to&lt;/P&gt;</description>
    <pubDate>Thu, 21 Jun 2018 06:12:09 GMT</pubDate>
    <dc:creator>DATEVeG</dc:creator>
    <dc:date>2018-06-21T06:12:09Z</dc:date>
    <item>
      <title>How can I display the current users metric index and their access permissions?</title>
      <link>https://community.splunk.com/t5/Security/How-can-I-display-the-current-users-metric-index-and-their/m-p/437237#M10247</link>
      <description>&lt;P&gt;Hi, &lt;/P&gt;

&lt;P&gt;We created a new app, which is configured as the default app for most of the users.&lt;BR /&gt;
The app contains a default view, which lists all splunk indexes including the metric indexes.&lt;/P&gt;

&lt;P&gt;For each index, there is a column which indicates, if the current user has access permissions for the corresponding index.&lt;BR /&gt;
Our method to list all indexes with access permissions for the current user is:&lt;BR /&gt;
&lt;CODE&gt;| eventcount summarize=false index=*&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;However, this method doesn't work for the new indextype &lt;EM&gt;metric&lt;/EM&gt;. &lt;/P&gt;

&lt;P&gt;How can I list all the indexes, which the currently logged in user has access to? &lt;BR /&gt;
The list should include the indexes searched by default and also the indexes which must be specified explicitly.&lt;/P&gt;

&lt;P&gt;Thanks!&lt;BR /&gt;
- Lorenz&lt;/P&gt;</description>
      <pubDate>Tue, 05 Jun 2018 12:19:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/How-can-I-display-the-current-users-metric-index-and-their/m-p/437237#M10247</guid>
      <dc:creator>DATEVeG</dc:creator>
      <dc:date>2018-06-05T12:19:54Z</dc:date>
    </item>
    <item>
      <title>Re: How can I display the current users metric index and their access permissions?</title>
      <link>https://community.splunk.com/t5/Security/How-can-I-display-the-current-users-metric-index-and-their/m-p/437238#M10248</link>
      <description>&lt;P&gt;I don't get it, with the above, all you do is counting every index that 'summarize' is false?&lt;/P&gt;

&lt;P&gt;What I would do is something like:&lt;/P&gt;

&lt;P&gt;index=* | dedup index | table index&lt;/P&gt;

&lt;P&gt;Can you give other example or something? &lt;/P&gt;

&lt;P&gt;What is the name of that column?&lt;/P&gt;</description>
      <pubDate>Wed, 20 Jun 2018 04:18:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/How-can-I-display-the-current-users-metric-index-and-their/m-p/437238#M10248</guid>
      <dc:creator>felipesewaybric</dc:creator>
      <dc:date>2018-06-20T04:18:49Z</dc:date>
    </item>
    <item>
      <title>Re: How can I display the current users metric index and their access permissions?</title>
      <link>https://community.splunk.com/t5/Security/How-can-I-display-the-current-users-metric-index-and-their/m-p/437239#M10249</link>
      <description>&lt;P&gt;In the world of event indexes, your example with &lt;BR /&gt;
    index=* | dedup index | table index&lt;BR /&gt;
will work. It is just ways slower than my solution above.&lt;/P&gt;

&lt;P&gt;With the new metric indexes in Splunk 7.x, i don't know how to archive the same result.&lt;BR /&gt;
So again my question:&lt;BR /&gt;
How can I list all metric indexes, which the currently logged in user has access to? &lt;/P&gt;</description>
      <pubDate>Wed, 20 Jun 2018 05:47:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/How-can-I-display-the-current-users-metric-index-and-their/m-p/437239#M10249</guid>
      <dc:creator>DATEVeG</dc:creator>
      <dc:date>2018-06-20T05:47:13Z</dc:date>
    </item>
    <item>
      <title>Re: How can I display the current users metric index and their access permissions?</title>
      <link>https://community.splunk.com/t5/Security/How-can-I-display-the-current-users-metric-index-and-their/m-p/437240#M10250</link>
      <description>&lt;P&gt;Try this "| eventcount summarize=false index=* | dedup index | fields index"&lt;/P&gt;</description>
      <pubDate>Wed, 20 Jun 2018 13:52:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/How-can-I-display-the-current-users-metric-index-and-their/m-p/437240#M10250</guid>
      <dc:creator>slippenh</dc:creator>
      <dc:date>2018-06-20T13:52:41Z</dc:date>
    </item>
    <item>
      <title>Re: How can I display the current users metric index and their access permissions?</title>
      <link>https://community.splunk.com/t5/Security/How-can-I-display-the-current-users-metric-index-and-their/m-p/437241#M10251</link>
      <description>&lt;P&gt;This doesn't show any metric indexes.&lt;/P&gt;</description>
      <pubDate>Wed, 20 Jun 2018 13:58:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/How-can-I-display-the-current-users-metric-index-and-their/m-p/437241#M10251</guid>
      <dc:creator>DATEVeG</dc:creator>
      <dc:date>2018-06-20T13:58:28Z</dc:date>
    </item>
    <item>
      <title>Re: How can I display the current users metric index and their access permissions?</title>
      <link>https://community.splunk.com/t5/Security/How-can-I-display-the-current-users-metric-index-and-their/m-p/437242#M10252</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;

&lt;P&gt;In case of metrics this does what you want:&lt;BR /&gt;
    | mstats count(_value) where index=someMetricsIndex AND metric_name=*&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 20:02:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/How-can-I-display-the-current-users-metric-index-and-their/m-p/437242#M10252</guid>
      <dc:creator>poete</dc:creator>
      <dc:date>2020-09-29T20:02:36Z</dc:date>
    </item>
    <item>
      <title>Re: How can I display the current users metric index and their access permissions?</title>
      <link>https://community.splunk.com/t5/Security/How-can-I-display-the-current-users-metric-index-and-their/m-p/437243#M10253</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;your SPL-Statement will show all the metrics in one index.&lt;/P&gt;

&lt;P&gt;What i want: &lt;BR /&gt;
- List all metric indexes which exists&lt;BR /&gt;
- List all metric indexes which the currently logged in user has access to&lt;/P&gt;</description>
      <pubDate>Thu, 21 Jun 2018 06:12:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/How-can-I-display-the-current-users-metric-index-and-their/m-p/437243#M10253</guid>
      <dc:creator>DATEVeG</dc:creator>
      <dc:date>2018-06-21T06:12:09Z</dc:date>
    </item>
    <item>
      <title>Re: How can I display the current users metric index and their access permissions?</title>
      <link>https://community.splunk.com/t5/Security/How-can-I-display-the-current-users-metric-index-and-their/m-p/437244#M10254</link>
      <description>&lt;P&gt;OK. And what about this?&lt;/P&gt;

&lt;P&gt;| mstats count(_value) where index=* AND metric_name=* by index&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 20:06:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/How-can-I-display-the-current-users-metric-index-and-their/m-p/437244#M10254</guid>
      <dc:creator>poete</dc:creator>
      <dc:date>2020-09-29T20:06:59Z</dc:date>
    </item>
    <item>
      <title>Re: How can I display the current users metric index and their access permissions?</title>
      <link>https://community.splunk.com/t5/Security/How-can-I-display-the-current-users-metric-index-and-their/m-p/437245#M10255</link>
      <description>&lt;P&gt;This is working as expected.&lt;BR /&gt;
Thanks!&lt;/P&gt;</description>
      <pubDate>Thu, 21 Jun 2018 11:54:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/How-can-I-display-the-current-users-metric-index-and-their/m-p/437245#M10255</guid>
      <dc:creator>DATEVeG</dc:creator>
      <dc:date>2018-06-21T11:54:27Z</dc:date>
    </item>
  </channel>
</rss>

