<?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 inputcsv command in Security</title>
    <link>https://community.splunk.com/t5/Security/How-to-use-inputcsv-command/m-p/463609#M10801</link>
    <description>&lt;P&gt;What is inputcsv command used for ? I was thinking an CSV file can be loaded into an index. Is it correct?&lt;/P&gt;</description>
    <pubDate>Sat, 30 May 2020 04:21:48 GMT</pubDate>
    <dc:creator>sarmahari</dc:creator>
    <dc:date>2020-05-30T04:21:48Z</dc:date>
    <item>
      <title>How to use inputcsv command</title>
      <link>https://community.splunk.com/t5/Security/How-to-use-inputcsv-command/m-p/463605#M10797</link>
      <description>&lt;P&gt;I have installed Splunk Enterprise version 8.0.4 on an Ubuntu IBM cloud Server with default port(8000). I can access Splunk from my Laptop's Chrome / Edge browsers. I uploaded an CSV from browser as admin and could search. I have two doubts in this regard&lt;BR /&gt;1. How to load an CSV file from Linux command prompt? I went through documentation provided online. What I did not understand was, what is "|" symbol before invoking inputcsv command? Is it some Splunk shell kind of stuff? Is it CLI ? or something&lt;BR /&gt;2. I created an user from admin GUI and gave role of "user". Can I upload a CSV by logging in as this user? As per documentation, "user" role should be able to input a file, However, I did not find "Add Data" option on GUI for this user.&lt;/P&gt;
&lt;P&gt;Any help is greatly appreciated&lt;/P&gt;</description>
      <pubDate>Sun, 07 Jun 2020 16:45:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/How-to-use-inputcsv-command/m-p/463605#M10797</guid>
      <dc:creator>sarmahari</dc:creator>
      <dc:date>2020-06-07T16:45:14Z</dc:date>
    </item>
    <item>
      <title>Re: How to use inputcsv command</title>
      <link>https://community.splunk.com/t5/Security/How-to-use-inputcsv-command/m-p/463606#M10798</link>
      <description>&lt;OL&gt;
&lt;LI&gt;&lt;CODE&gt;inputcsv&lt;/CODE&gt; is a generating command, which means it must be preceded by the &lt;CODE&gt;|&lt;/CODE&gt; character even when it's the first command in a query.  The leading &lt;CODE&gt;|&lt;/CODE&gt; tells Splunk to not add the implicit "search" command.&lt;/LI&gt;
&lt;/OL&gt;

&lt;P&gt;2, By default, the user role cannot add data.  Where did you see the documentation about users and files?&lt;/P&gt;</description>
      <pubDate>Fri, 29 May 2020 13:45:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/How-to-use-inputcsv-command/m-p/463606#M10798</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2020-05-29T13:45:24Z</dc:date>
    </item>
    <item>
      <title>Re: How to use inputcsv command</title>
      <link>https://community.splunk.com/t5/Security/How-to-use-inputcsv-command/m-p/463607#M10799</link>
      <description>&lt;OL&gt;
&lt;LI&gt;Regarding inputcsv, where should this command be issued? If I directly type |inputcsv  getting error as "-bash: syntax error near unexpected token `|'". Should I issue in some Splunk shell or CLI or where. Sorry for asking trivial question, but went thro'  lot of examples, did not find any answers&lt;/LI&gt;
&lt;LI&gt; &lt;A href="https://docs.splunk.com/Documentation/SplunkCloud/8.0.2004/Admin/UserAccounts"&gt;https://docs.splunk.com/Documentation/SplunkCloud/8.0.2004/Admin/UserAccounts&lt;/A&gt;  at this URL Search for "input_file"&lt;/LI&gt;
&lt;/OL&gt;</description>
      <pubDate>Fri, 29 May 2020 14:16:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/How-to-use-inputcsv-command/m-p/463607#M10799</guid>
      <dc:creator>sarmahari</dc:creator>
      <dc:date>2020-05-29T14:16:45Z</dc:date>
    </item>
    <item>
      <title>Re: How to use inputcsv command</title>
      <link>https://community.splunk.com/t5/Security/How-to-use-inputcsv-command/m-p/463608#M10800</link>
      <description>&lt;OL&gt;
&lt;LI&gt; What is the full command you are trying to enter and where did you find it?&lt;/LI&gt;
&lt;LI&gt;The &lt;CODE&gt;input_file&lt;/CODE&gt; capability "Lets the user add a file as an input through &lt;STRONG&gt;inputcsv&lt;/STRONG&gt; and &lt;STRONG&gt;inputlookup&lt;/STRONG&gt;." (emphasis mine)  That means they can include a file in their queries.  It has nothing to do with Add Data.&lt;/LI&gt;
&lt;/OL&gt;</description>
      <pubDate>Fri, 29 May 2020 16:42:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/How-to-use-inputcsv-command/m-p/463608#M10800</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2020-05-29T16:42:37Z</dc:date>
    </item>
    <item>
      <title>Re: How to use inputcsv command</title>
      <link>https://community.splunk.com/t5/Security/How-to-use-inputcsv-command/m-p/463609#M10801</link>
      <description>&lt;P&gt;What is inputcsv command used for ? I was thinking an CSV file can be loaded into an index. Is it correct?&lt;/P&gt;</description>
      <pubDate>Sat, 30 May 2020 04:21:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/How-to-use-inputcsv-command/m-p/463609#M10801</guid>
      <dc:creator>sarmahari</dc:creator>
      <dc:date>2020-05-30T04:21:48Z</dc:date>
    </item>
    <item>
      <title>Re: How to use inputcsv command</title>
      <link>https://community.splunk.com/t5/Security/How-to-use-inputcsv-command/m-p/463610#M10802</link>
      <description>&lt;P&gt;RTM! (&lt;A href="https://docs.splunk.com/Documentation/Splunk/8.0.4/SearchReference/Inputcsv"&gt;https://docs.splunk.com/Documentation/Splunk/8.0.4/SearchReference/Inputcsv&lt;/A&gt;)&lt;BR /&gt;
That command reads a file and makes each row an event in the current query.  It does not cause data to be indexed.  If you want to index a CSV, you can use the &lt;CODE&gt;collect&lt;/CODE&gt; command after &lt;CODE&gt;inputcsv&lt;/CODE&gt;.&lt;/P&gt;</description>
      <pubDate>Mon, 01 Jun 2020 12:38:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/How-to-use-inputcsv-command/m-p/463610#M10802</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2020-06-01T12:38:20Z</dc:date>
    </item>
  </channel>
</rss>

