<?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 disable splunk auth for the command-line in Monitoring Splunk</title>
    <link>https://community.splunk.com/t5/Monitoring-Splunk/How-can-I-disable-splunk-auth-for-the-command-line/m-p/71405#M7206</link>
    <description>&lt;P&gt;where is this username/password envvar  documented? &lt;/P&gt;</description>
    <pubDate>Sat, 03 Jun 2017 14:20:49 GMT</pubDate>
    <dc:creator>eddiet</dc:creator>
    <dc:date>2017-06-03T14:20:49Z</dc:date>
    <item>
      <title>How can I disable splunk auth for the command-line</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/How-can-I-disable-splunk-auth-for-the-command-line/m-p/71399#M7200</link>
      <description>&lt;P&gt;I have a regularly scheduled job which generates a log-file which I then use my local splunk light-forwarder to send to a remote splunk instance with
    splunk add oneshot $LOG_FILE -sourcetype $SOURCE&lt;/P&gt;

&lt;P&gt;This ends up requiring authentication.  I know that I could hard-code a "-auth user:pass" argument into the script as well, but I'd prefer to not do that and instead be able to just disable authentication on the local host for splunk cli access.  Is there a way to do this?&lt;/P&gt;</description>
      <pubDate>Fri, 15 Oct 2010 22:53:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/How-can-I-disable-splunk-auth-for-the-command-line/m-p/71399#M7200</guid>
      <dc:creator>katzj</dc:creator>
      <dc:date>2010-10-15T22:53:50Z</dc:date>
    </item>
    <item>
      <title>Re: How can I disable splunk auth for the command-line</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/How-can-I-disable-splunk-auth-for-the-command-line/m-p/71400#M7201</link>
      <description>&lt;P&gt;I do not think you can disable authentication.
You have two options that i can think of:&lt;/P&gt;

&lt;UL&gt;
&lt;LI&gt;`./splunk login` before you run the script&lt;/LI&gt;
&lt;LI&gt;use:&lt;BR /&gt;
`export SPLUNK_USERNAME=admin`&lt;BR /&gt;
`export SPLUNK_PASSWORD=changeme`&lt;/LI&gt;
&lt;/UL&gt;

&lt;P&gt;cheers!&lt;BR /&gt;
.gz&lt;/P&gt;</description>
      <pubDate>Sat, 16 Oct 2010 01:00:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/How-can-I-disable-splunk-auth-for-the-command-line/m-p/71400#M7201</guid>
      <dc:creator>Genti</dc:creator>
      <dc:date>2010-10-16T01:00:23Z</dc:date>
    </item>
    <item>
      <title>Re: How can I disable splunk auth for the command-line</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/How-can-I-disable-splunk-auth-for-the-command-line/m-p/71401#M7202</link>
      <description>&lt;P&gt;I actually think this would be useful as well, something like kerberos's kadmin.local binary.&lt;/P&gt;</description>
      <pubDate>Sat, 16 Oct 2010 02:53:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/How-can-I-disable-splunk-auth-for-the-command-line/m-p/71401#M7202</guid>
      <dc:creator>thartmann</dc:creator>
      <dc:date>2010-10-16T02:53:01Z</dc:date>
    </item>
    <item>
      <title>Re: How can I disable splunk auth for the command-line</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/How-can-I-disable-splunk-auth-for-the-command-line/m-p/71402#M7203</link>
      <description>&lt;P&gt;Just dump the file in a batch directory such as &lt;CODE&gt;$SPLUNK_HOME/var/spool/splunk&lt;/CODE&gt;.  This does not require authentication, and you can control the sourcetype, source, etc with dynamic metadata assignment:&lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/Data/Assignmetadatatoeventsdynamically"&gt;http://docs.splunk.com/Documentation/Splunk/latest/Data/Assignmetadatatoeventsdynamically&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 13 Nov 2010 08:36:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/How-can-I-disable-splunk-auth-for-the-command-line/m-p/71402#M7203</guid>
      <dc:creator>araitz</dc:creator>
      <dc:date>2010-11-13T08:36:38Z</dc:date>
    </item>
    <item>
      <title>Re: How can I disable splunk auth for the command-line</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/How-can-I-disable-splunk-auth-for-the-command-line/m-p/71403#M7204</link>
      <description>&lt;P&gt;This approach is just what I was looking for.  Thanks!&lt;/P&gt;</description>
      <pubDate>Wed, 08 May 2013 22:48:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/How-can-I-disable-splunk-auth-for-the-command-line/m-p/71403#M7204</guid>
      <dc:creator>charleswheelus</dc:creator>
      <dc:date>2013-05-08T22:48:35Z</dc:date>
    </item>
    <item>
      <title>Re: How can I disable splunk auth for the command-line</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/How-can-I-disable-splunk-auth-for-the-command-line/m-p/71404#M7205</link>
      <description>&lt;P&gt;the export of the user password into environment variables worked great... thanks &lt;/P&gt;</description>
      <pubDate>Wed, 08 Feb 2017 12:11:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/How-can-I-disable-splunk-auth-for-the-command-line/m-p/71404#M7205</guid>
      <dc:creator>dmahler99</dc:creator>
      <dc:date>2017-02-08T12:11:44Z</dc:date>
    </item>
    <item>
      <title>Re: How can I disable splunk auth for the command-line</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/How-can-I-disable-splunk-auth-for-the-command-line/m-p/71405#M7206</link>
      <description>&lt;P&gt;where is this username/password envvar  documented? &lt;/P&gt;</description>
      <pubDate>Sat, 03 Jun 2017 14:20:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/How-can-I-disable-splunk-auth-for-the-command-line/m-p/71405#M7206</guid>
      <dc:creator>eddiet</dc:creator>
      <dc:date>2017-06-03T14:20:49Z</dc:date>
    </item>
    <item>
      <title>Re: How can I disable splunk auth for the command-line</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/How-can-I-disable-splunk-auth-for-the-command-line/m-p/71406#M7207</link>
      <description>&lt;P&gt;i couldn't find this, where is this documented? &lt;/P&gt;</description>
      <pubDate>Sat, 03 Jun 2017 14:23:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/How-can-I-disable-splunk-auth-for-the-command-line/m-p/71406#M7207</guid>
      <dc:creator>eddiet</dc:creator>
      <dc:date>2017-06-03T14:23:26Z</dc:date>
    </item>
    <item>
      <title>Re: How can I disable splunk auth for the command-line</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/How-can-I-disable-splunk-auth-for-the-command-line/m-p/71407#M7208</link>
      <description>&lt;P&gt;link above has moved to :&lt;BR /&gt;
&lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/Data/Assignmetadatatoeventsdynamically"&gt;http://docs.splunk.com/Documentation/Splunk/latest/Data/Assignmetadatatoeventsdynamically&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 04 Jun 2017 14:12:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/How-can-I-disable-splunk-auth-for-the-command-line/m-p/71407#M7208</guid>
      <dc:creator>maraman_splunk</dc:creator>
      <dc:date>2017-06-04T14:12:40Z</dc:date>
    </item>
  </channel>
</rss>

