<?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 to use CLI in Installation</title>
    <link>https://community.splunk.com/t5/Installation/How-to-use-CLI/m-p/193807#M10060</link>
    <description>&lt;P&gt;I have fixed the problem by uninstalling splunk and reinstalling. Never figured out what happened, however.&lt;/P&gt;</description>
    <pubDate>Tue, 10 Jun 2014 19:25:56 GMT</pubDate>
    <dc:creator>thomashigginson</dc:creator>
    <dc:date>2014-06-10T19:25:56Z</dc:date>
    <item>
      <title>How to use CLI</title>
      <link>https://community.splunk.com/t5/Installation/How-to-use-CLI/m-p/193798#M10051</link>
      <description>&lt;P&gt;How can I access the CLI for Splunk. I have tried for nearly an hour now with no success. The guides are helpful but evidently not nearly enough. Any help is appreciated!&lt;/P&gt;</description>
      <pubDate>Mon, 09 Jun 2014 23:07:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Installation/How-to-use-CLI/m-p/193798#M10051</guid>
      <dc:creator>thomashigginson</dc:creator>
      <dc:date>2014-06-09T23:07:17Z</dc:date>
    </item>
    <item>
      <title>Re: How to use CLI</title>
      <link>https://community.splunk.com/t5/Installation/How-to-use-CLI/m-p/193799#M10052</link>
      <description>&lt;P&gt;Whenever I enter the path name in cmd, it can't find it. I have checked the file path multiple times to make sure it's correct. C:\Program_Files\Splunk\bin\splunk&lt;BR /&gt;
and I have tried every variation of that. The backslashes in between.&lt;/P&gt;</description>
      <pubDate>Mon, 09 Jun 2014 23:18:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Installation/How-to-use-CLI/m-p/193799#M10052</guid>
      <dc:creator>thomashigginson</dc:creator>
      <dc:date>2014-06-09T23:18:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to use CLI</title>
      <link>https://community.splunk.com/t5/Installation/How-to-use-CLI/m-p/193800#M10053</link>
      <description>&lt;P&gt;usually open a cmd.&lt;BR /&gt;
go to &lt;CODE&gt;cd C:\Program Files\Splunk\bin&lt;/CODE&gt;&lt;BR /&gt;
and run &lt;CODE&gt;splunk help&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;Remarks :&lt;/P&gt;

&lt;UL&gt;
&lt;LI&gt;if you see linux commands, with .\splunk you can drop the .\ &lt;/LI&gt;
&lt;LI&gt;but if you switch to powershell, you need them &lt;/LI&gt;
&lt;/UL&gt;</description>
      <pubDate>Tue, 10 Jun 2014 00:12:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Installation/How-to-use-CLI/m-p/193800#M10053</guid>
      <dc:creator>yannK</dc:creator>
      <dc:date>2014-06-10T00:12:21Z</dc:date>
    </item>
    <item>
      <title>Re: How to use CLI</title>
      <link>https://community.splunk.com/t5/Installation/How-to-use-CLI/m-p/193801#M10054</link>
      <description>&lt;P&gt;When I try to use cmd, to open it, if I don't use an _ then cmd returns C:\Program is not an executable command. If I do use the _ , it returns that the it could not find the path specified. Okay, now, since I know where it is located, I just went to the folder to open it, but it opens the Splunk CLI and then it closes automatically after about half a second. Any ideas?&lt;/P&gt;</description>
      <pubDate>Tue, 10 Jun 2014 15:38:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Installation/How-to-use-CLI/m-p/193801#M10054</guid>
      <dc:creator>thomashigginson</dc:creator>
      <dc:date>2014-06-10T15:38:37Z</dc:date>
    </item>
    <item>
      <title>Re: How to use CLI</title>
      <link>https://community.splunk.com/t5/Installation/How-to-use-CLI/m-p/193802#M10055</link>
      <description>&lt;P&gt;So, I've narrowed my issue down to "Not enough arguments, please specify a valid command from this list" and then Splunk CLI shutting down. Still, any ideas?&lt;/P&gt;</description>
      <pubDate>Tue, 10 Jun 2014 16:17:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Installation/How-to-use-CLI/m-p/193802#M10055</guid>
      <dc:creator>thomashigginson</dc:creator>
      <dc:date>2014-06-10T16:17:15Z</dc:date>
    </item>
    <item>
      <title>Re: How to use CLI</title>
      <link>https://community.splunk.com/t5/Installation/How-to-use-CLI/m-p/193803#M10056</link>
      <description>&lt;P&gt;You have to decide what you want to do with the CLI ?&lt;BR /&gt;
The list of commands is here: &lt;BR /&gt;
&lt;A href="http://docs.splunk.com/Documentation/Splunk/6.1.1/Admin/CLIadmincommands"&gt;http://docs.splunk.com/Documentation/Splunk/6.1.1/Admin/CLIadmincommands&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;And if when you run the command, the output pops up in a new window that disappears immediately, this is because you are not running the CMD as administrator.&lt;BR /&gt;
Please restart your &lt;STRONG&gt;CMD window as administrator&lt;/STRONG&gt; (it requires a right click on windows)&lt;/P&gt;

&lt;P&gt;see &lt;A href="http://lmgtfy.com/?q=run+CMD+as+administrator"&gt;http://lmgtfy.com/?q=run+CMD+as+administrator&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 10 Jun 2014 16:30:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Installation/How-to-use-CLI/m-p/193803#M10056</guid>
      <dc:creator>yannK</dc:creator>
      <dc:date>2014-06-10T16:30:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to use CLI</title>
      <link>https://community.splunk.com/t5/Installation/How-to-use-CLI/m-p/193804#M10057</link>
      <description>&lt;P&gt;I just tried opening CMD as an admin and executing splunk, as well as going to the bin and running splunk as an admin. Both times I had the same result: Splunk CLI opens for a split second and then closes. I'm checking the WinLog events and it gives me Audit Success and No errors when I run it as an Admin--&amp;gt;so that is good. But, however, that doesn't explain why Splunk CLI keeps shutting down on me. Any ideas?&lt;/P&gt;</description>
      <pubDate>Tue, 10 Jun 2014 16:52:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Installation/How-to-use-CLI/m-p/193804#M10057</guid>
      <dc:creator>thomashigginson</dc:creator>
      <dc:date>2014-06-10T16:52:29Z</dc:date>
    </item>
    <item>
      <title>Re: How to use CLI</title>
      <link>https://community.splunk.com/t5/Installation/How-to-use-CLI/m-p/193805#M10058</link>
      <description>&lt;P&gt;Very strange, &lt;/P&gt;

&lt;UL&gt;
&lt;LI&gt;what is your version of windows ?&lt;/LI&gt;
&lt;LI&gt;do you have custom system paths for %SPLUNK_HOME% , check the ..\etc\splunk-launch.conf and the windows paths.&lt;/LI&gt;
&lt;/UL&gt;

&lt;P&gt;To catch the output, you can redirect it to a text file.&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;splunk cmd btool inputs list &amp;gt; output.txt&lt;BR /&gt;
notepad output.txt&lt;/CODE&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 10 Jun 2014 17:08:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Installation/How-to-use-CLI/m-p/193805#M10058</guid>
      <dc:creator>yannK</dc:creator>
      <dc:date>2014-06-10T17:08:13Z</dc:date>
    </item>
    <item>
      <title>Re: How to use CLI</title>
      <link>https://community.splunk.com/t5/Installation/How-to-use-CLI/m-p/193806#M10059</link>
      <description>&lt;P&gt;I am trying to use it on two different versions of Windows: 7 and 2008 R2 Servers. This is what shows on my splunk-launch.conf along with the other info.&lt;BR /&gt;
       Version 6.1.1&lt;BR /&gt;
 SPLUNK_HOME=C:\splunk\build-home\6.1.0&lt;/P&gt;

&lt;P&gt;SPLUNK_DB=C:\splunk\build-home\6.1.0\var\lib\splunk&lt;/P&gt;

&lt;P&gt;And I tried to catch the output and it gave me a blank txt file. The WinLog gets the output as the all the standard information and text that shows up on the Splunk CLI, and it says no error, but it closes immediately after opening. I have full administrative powers. Any ideas? I get the same problem when I try on both separatly&lt;/P&gt;</description>
      <pubDate>Tue, 10 Jun 2014 17:20:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Installation/How-to-use-CLI/m-p/193806#M10059</guid>
      <dc:creator>thomashigginson</dc:creator>
      <dc:date>2014-06-10T17:20:26Z</dc:date>
    </item>
    <item>
      <title>Re: How to use CLI</title>
      <link>https://community.splunk.com/t5/Installation/How-to-use-CLI/m-p/193807#M10060</link>
      <description>&lt;P&gt;I have fixed the problem by uninstalling splunk and reinstalling. Never figured out what happened, however.&lt;/P&gt;</description>
      <pubDate>Tue, 10 Jun 2014 19:25:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Installation/How-to-use-CLI/m-p/193807#M10060</guid>
      <dc:creator>thomashigginson</dc:creator>
      <dc:date>2014-06-10T19:25:56Z</dc:date>
    </item>
  </channel>
</rss>

