<?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: Can I get a list of all accounts across SHC? in Deployment Architecture</title>
    <link>https://community.splunk.com/t5/Deployment-Architecture/Can-I-get-a-list-of-all-accounts-across-SHC/m-p/203692#M7600</link>
    <description>&lt;P&gt;Is anything replicated in the SHC at all - Like dashboards and changed saved searches?&lt;/P&gt;</description>
    <pubDate>Mon, 13 Jun 2016 02:03:36 GMT</pubDate>
    <dc:creator>MuS</dc:creator>
    <dc:date>2016-06-13T02:03:36Z</dc:date>
    <item>
      <title>Can I get a list of all accounts across SHC?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Can-I-get-a-list-of-all-accounts-across-SHC/m-p/203681#M7589</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;Is there a way to get a list of all accounts across a SHC? &lt;/P&gt;</description>
      <pubDate>Sat, 11 Jun 2016 00:10:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Can-I-get-a-list-of-all-accounts-across-SHC/m-p/203681#M7589</guid>
      <dc:creator>a212830</dc:creator>
      <dc:date>2016-06-11T00:10:35Z</dc:date>
    </item>
    <item>
      <title>Re: Can I get a list of all accounts across SHC?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Can-I-get-a-list-of-all-accounts-across-SHC/m-p/203682#M7590</link>
      <description>&lt;P&gt;Hi a212830,&lt;/P&gt;

&lt;P&gt;if you&lt;CODE&gt;re on Splunk 6.4.x, use local user authentication and have OS level access look at the file&lt;/CODE&gt;$SPLUNK_HOME/etc/passwd` since this file will be replicated in the SHC. You can also use the following rest search:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; | rest /services/admin/users | table title
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Hope this helps ...&lt;/P&gt;

&lt;P&gt;cheers, MuS&lt;/P&gt;</description>
      <pubDate>Sat, 11 Jun 2016 04:08:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Can-I-get-a-list-of-all-accounts-across-SHC/m-p/203682#M7590</guid>
      <dc:creator>MuS</dc:creator>
      <dc:date>2016-06-11T04:08:10Z</dc:date>
    </item>
    <item>
      <title>Re: Can I get a list of all accounts across SHC?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Can-I-get-a-list-of-all-accounts-across-SHC/m-p/203683#M7591</link>
      <description>&lt;P&gt;We use the following - &lt;CODE&gt;| rest services/authentication/users | where roles="XXX" | table title, email, realname&lt;/CODE&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 12 Jun 2016 00:33:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Can-I-get-a-list-of-all-accounts-across-SHC/m-p/203683#M7591</guid>
      <dc:creator>ddrillic</dc:creator>
      <dc:date>2016-06-12T00:33:42Z</dc:date>
    </item>
    <item>
      <title>Re: Can I get a list of all accounts across SHC?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Can-I-get-a-list-of-all-accounts-across-SHC/m-p/203684#M7592</link>
      <description>&lt;P&gt;Unfortunately, if a user is created on a SHC member locally, that search doesn't find that user.Also, &lt;/P&gt;

&lt;P&gt;|rest /services/authentication/users is nothing but localhost/services/authentication/users so it would display only users from the search head you ran it.&lt;/P&gt;

&lt;P&gt;Thanks,&lt;BR /&gt;
Raghav&lt;/P&gt;</description>
      <pubDate>Sun, 12 Jun 2016 01:37:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Can-I-get-a-list-of-all-accounts-across-SHC/m-p/203684#M7592</guid>
      <dc:creator>Raghav2384</dc:creator>
      <dc:date>2016-06-12T01:37:18Z</dc:date>
    </item>
    <item>
      <title>Re: Can I get a list of all accounts across SHC?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Can-I-get-a-list-of-all-accounts-across-SHC/m-p/203685#M7593</link>
      <description>&lt;P&gt;To add to what &lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/2012"&gt;@MuS&lt;/a&gt; has stated&lt;/P&gt;

&lt;P&gt;index=_audit action=add|rex field=_raw "/etc/users/(?P\w+)/"  (Select All time)&lt;/P&gt;

&lt;P&gt;this will give you the list of user/account name irrespective of the search head they are created on (I know we all have seen one rogue useraccount :)). Limitation is it will just give me the userids &lt;/P&gt;

&lt;P&gt;Hope you can expand this and get what you want.&lt;/P&gt;

&lt;P&gt;Thanks,&lt;BR /&gt;
Raghav&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 09:56:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Can-I-get-a-list-of-all-accounts-across-SHC/m-p/203685#M7593</guid>
      <dc:creator>Raghav2384</dc:creator>
      <dc:date>2020-09-29T09:56:24Z</dc:date>
    </item>
    <item>
      <title>Re: Can I get a list of all accounts across SHC?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Can-I-get-a-list-of-all-accounts-across-SHC/m-p/203686#M7594</link>
      <description>&lt;P&gt;Look, a situation in which  a user is created on a SHC member locally is against any best practices. We need to put safeguards against such a use case.&lt;/P&gt;</description>
      <pubDate>Sun, 12 Jun 2016 19:14:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Can-I-get-a-list-of-all-accounts-across-SHC/m-p/203686#M7594</guid>
      <dc:creator>ddrillic</dc:creator>
      <dc:date>2016-06-12T19:14:46Z</dc:date>
    </item>
    <item>
      <title>Re: Can I get a list of all accounts across SHC?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Can-I-get-a-list-of-all-accounts-across-SHC/m-p/203687#M7595</link>
      <description>&lt;P&gt;@ddrillic, sorry but this is wrong! see docs &lt;A href="http://docs.splunk.com/Documentation/Splunk/6.4.1/DistSearch/AdduserstotheSHC"&gt;http://docs.splunk.com/Documentation/Splunk/6.4.1/DistSearch/AdduserstotheSHC&lt;/A&gt; &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;To add users to the search head cluster, you can use any of the available authentication methods: 
Splunk Enterprise built-in authentication, LDAP, SAML, or scripted authentication.
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;and&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;Use Splunk Enterprise built-in authentication&lt;/STRONG&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;For Splunk Enterprise built-in authentication, you can use Splunk Web or the CLI to add users and map roles. Perform the operation on any one of the cluster members. The cluster then automatically distributes the changes to all members by replicating the $SPLUNK_HOME/etc/passwd file.
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sun, 12 Jun 2016 20:23:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Can-I-get-a-list-of-all-accounts-across-SHC/m-p/203687#M7595</guid>
      <dc:creator>MuS</dc:creator>
      <dc:date>2016-06-12T20:23:42Z</dc:date>
    </item>
    <item>
      <title>Re: Can I get a list of all accounts across SHC?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Can-I-get-a-list-of-all-accounts-across-SHC/m-p/203688#M7596</link>
      <description>&lt;P&gt;Thank you MuS for the correction.&lt;/P&gt;</description>
      <pubDate>Sun, 12 Jun 2016 21:18:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Can-I-get-a-list-of-all-accounts-across-SHC/m-p/203688#M7596</guid>
      <dc:creator>ddrillic</dc:creator>
      <dc:date>2016-06-12T21:18:22Z</dc:date>
    </item>
    <item>
      <title>Re: Can I get a list of all accounts across SHC?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Can-I-get-a-list-of-all-accounts-across-SHC/m-p/203689#M7597</link>
      <description>&lt;P&gt;We use a combination of LDAP (users) and local accounts (services - api).  Looking for searches across all time isn't realistic - there isn't a rest call to get all this info across the cluster?  &lt;/P&gt;</description>
      <pubDate>Mon, 13 Jun 2016 00:32:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Can-I-get-a-list-of-all-accounts-across-SHC/m-p/203689#M7597</guid>
      <dc:creator>a212830</dc:creator>
      <dc:date>2016-06-13T00:32:45Z</dc:date>
    </item>
    <item>
      <title>Re: Can I get a list of all accounts across SHC?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Can-I-get-a-list-of-all-accounts-across-SHC/m-p/203690#M7598</link>
      <description>&lt;P&gt;As said, if you're on Splunk 6.4.x all local users are replicated within the SHC. &lt;BR /&gt;
In regards of the LDAP users you can use the rest call to &lt;CODE&gt;/services/authentication/users&lt;/CODE&gt;.&lt;/P&gt;</description>
      <pubDate>Mon, 13 Jun 2016 01:07:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Can-I-get-a-list-of-all-accounts-across-SHC/m-p/203690#M7598</guid>
      <dc:creator>MuS</dc:creator>
      <dc:date>2016-06-13T01:07:06Z</dc:date>
    </item>
    <item>
      <title>Re: Can I get a list of all accounts across SHC?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Can-I-get-a-list-of-all-accounts-across-SHC/m-p/203691#M7599</link>
      <description>&lt;P&gt;That's just it though - they aren't replicating.  So I want to use this to provide input to support, rather than login to each SH and run it. &lt;/P&gt;</description>
      <pubDate>Mon, 13 Jun 2016 02:00:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Can-I-get-a-list-of-all-accounts-across-SHC/m-p/203691#M7599</guid>
      <dc:creator>a212830</dc:creator>
      <dc:date>2016-06-13T02:00:37Z</dc:date>
    </item>
    <item>
      <title>Re: Can I get a list of all accounts across SHC?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Can-I-get-a-list-of-all-accounts-across-SHC/m-p/203692#M7600</link>
      <description>&lt;P&gt;Is anything replicated in the SHC at all - Like dashboards and changed saved searches?&lt;/P&gt;</description>
      <pubDate>Mon, 13 Jun 2016 02:03:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Can-I-get-a-list-of-all-accounts-across-SHC/m-p/203692#M7600</guid>
      <dc:creator>MuS</dc:creator>
      <dc:date>2016-06-13T02:03:36Z</dc:date>
    </item>
  </channel>
</rss>

