<?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 create a search out of an imported csv file in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-to-create-a-search-out-of-an-imported-csv-file/m-p/159972#M32446</link>
    <description>&lt;P&gt;You are missing the leading pipe character &lt;CODE&gt;|&lt;/CODE&gt;; it is critically important to type it exactly as shown:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| inputcsv categoryLabels.csv | table label
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Wed, 17 Jun 2015 20:35:40 GMT</pubDate>
    <dc:creator>woodcock</dc:creator>
    <dc:date>2015-06-17T20:35:40Z</dc:date>
    <item>
      <title>How to create a search out of an imported csv file</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-create-a-search-out-of-an-imported-csv-file/m-p/159967#M32441</link>
      <description>&lt;P&gt;Hi guys,&lt;/P&gt;

&lt;P&gt;So I have just imported a csv file that has two kinds of information : Label &amp;amp; ID number. Now, I am trying to create a search to add into my dashboard that displays the Label and not the ID number. &lt;/P&gt;

&lt;P&gt;The xml file's info is as shows right here:&lt;/P&gt;

&lt;P&gt;Sorry for the long list. Can someone please help?&lt;/P&gt;

&lt;P&gt;Thanks in advance for your help!&lt;/P&gt;</description>
      <pubDate>Wed, 17 Jun 2015 18:25:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-create-a-search-out-of-an-imported-csv-file/m-p/159967#M32441</guid>
      <dc:creator>splunkman341</dc:creator>
      <dc:date>2015-06-17T18:25:44Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a search out of an imported csv file</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-create-a-search-out-of-an-imported-csv-file/m-p/159968#M32442</link>
      <description>&lt;P&gt;Like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| inputcsv YourFileName | stats values(id) AS IDs
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Or maybe like this&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| inputcsv YourFileName | table id
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Be sure to use the correct capitalization for &lt;CODE&gt;id&lt;/CODE&gt; (your question is ambiguous on this).&lt;/P&gt;</description>
      <pubDate>Wed, 17 Jun 2015 19:36:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-create-a-search-out-of-an-imported-csv-file/m-p/159968#M32442</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2015-06-17T19:36:01Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a search out of an imported csv file</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-create-a-search-out-of-an-imported-csv-file/m-p/159969#M32443</link>
      <description>&lt;P&gt;Thanks for your answer.  I tried doing &lt;CODE&gt;inputcsv categoryLabels | stats values(Label) AS Label&lt;/CODE&gt;- but it would not execute. I am not interested in the ID field, but instead, the label field. &lt;/P&gt;

&lt;P&gt;I also have tried &lt;CODE&gt;inputcsv categoryLabels | table label&lt;/CODE&gt; also did not work. &lt;/P&gt;

&lt;P&gt;Also, do I need to include the .csv in my file name? The whole file name is categoryLabels.csv&lt;/P&gt;</description>
      <pubDate>Wed, 17 Jun 2015 19:57:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-create-a-search-out-of-an-imported-csv-file/m-p/159969#M32443</guid>
      <dc:creator>splunkman341</dc:creator>
      <dc:date>2015-06-17T19:57:45Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a search out of an imported csv file</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-create-a-search-out-of-an-imported-csv-file/m-p/159970#M32444</link>
      <description>&lt;P&gt;Sorry about swapping the fields.  Yes, you need the exact filename with extension AND it has to be in the proper place as indicated here:&lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/6.2.3/SearchReference/inputcsv"&gt;http://docs.splunk.com/Documentation/Splunk/6.2.3/SearchReference/inputcsv&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 17 Jun 2015 20:07:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-create-a-search-out-of-an-imported-csv-file/m-p/159970#M32444</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2015-06-17T20:07:36Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a search out of an imported csv file</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-create-a-search-out-of-an-imported-csv-file/m-p/159971#M32445</link>
      <description>&lt;P&gt;hmm its still not displaying any information at all even without the parameters.  Was I suppose to do something else after adding it into my lookups? &lt;/P&gt;</description>
      <pubDate>Wed, 17 Jun 2015 20:27:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-create-a-search-out-of-an-imported-csv-file/m-p/159971#M32445</guid>
      <dc:creator>splunkman341</dc:creator>
      <dc:date>2015-06-17T20:27:44Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a search out of an imported csv file</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-create-a-search-out-of-an-imported-csv-file/m-p/159972#M32446</link>
      <description>&lt;P&gt;You are missing the leading pipe character &lt;CODE&gt;|&lt;/CODE&gt;; it is critically important to type it exactly as shown:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| inputcsv categoryLabels.csv | table label
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 17 Jun 2015 20:35:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-create-a-search-out-of-an-imported-csv-file/m-p/159972#M32446</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2015-06-17T20:35:40Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a search out of an imported csv file</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-create-a-search-out-of-an-imported-csv-file/m-p/159973#M32447</link>
      <description>&lt;P&gt;It's still giving me the same result as the previous times. " No results found"&lt;/P&gt;</description>
      <pubDate>Wed, 17 Jun 2015 20:42:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-create-a-search-out-of-an-imported-csv-file/m-p/159973#M32447</guid>
      <dc:creator>splunkman341</dc:creator>
      <dc:date>2015-06-17T20:42:19Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a search out of an imported csv file</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-create-a-search-out-of-an-imported-csv-file/m-p/159974#M32448</link>
      <description>&lt;P&gt;Did you read the dox about where the file must be?  If the file is not found, you will not get a "file not found" message, you will get "No results found".  I am sure the problem is that you do not have the file in the correct place so that Splunk can find it.  Where is the file now?&lt;/P&gt;</description>
      <pubDate>Wed, 17 Jun 2015 20:48:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-create-a-search-out-of-an-imported-csv-file/m-p/159974#M32448</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2015-06-17T20:48:27Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a search out of an imported csv file</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-create-a-search-out-of-an-imported-csv-file/m-p/159975#M32449</link>
      <description>&lt;P&gt;Inside Settings &amp;gt; lookups...&lt;/P&gt;

&lt;P&gt;The file is not on the physical server that is running Splunk.&lt;/P&gt;</description>
      <pubDate>Wed, 17 Jun 2015 20:51:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-create-a-search-out-of-an-imported-csv-file/m-p/159975#M32449</guid>
      <dc:creator>splunkman341</dc:creator>
      <dc:date>2015-06-17T20:51:09Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a search out of an imported csv file</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-create-a-search-out-of-an-imported-csv-file/m-p/159976#M32450</link>
      <description>&lt;P&gt;It has to be a physical file on the Search Head.  You can probably do the same thing with &lt;CODE&gt;KV Store&lt;/CODE&gt; but I am not up to speed on it yet.&lt;/P&gt;</description>
      <pubDate>Wed, 17 Jun 2015 21:01:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-create-a-search-out-of-an-imported-csv-file/m-p/159976#M32450</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2015-06-17T21:01:30Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a search out of an imported csv file</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-create-a-search-out-of-an-imported-csv-file/m-p/159977#M32451</link>
      <description>&lt;P&gt;So it is not possible to search for this file unless it is on the physical server?&lt;/P&gt;</description>
      <pubDate>Thu, 18 Jun 2015 14:17:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-create-a-search-out-of-an-imported-csv-file/m-p/159977#M32451</guid>
      <dc:creator>splunkman341</dc:creator>
      <dc:date>2015-06-18T14:17:09Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a search out of an imported csv file</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-create-a-search-out-of-an-imported-csv-file/m-p/159978#M32452</link>
      <description>&lt;P&gt;YES!  That is why I said this at the VERY beginning:&lt;/P&gt;

&lt;P&gt;AND it has to be in the proper place as indicated here:&lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/6.2.3/SearchReference/inputcsv"&gt;http://docs.splunk.com/Documentation/Splunk/6.2.3/SearchReference/inputcsv&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 18 Jun 2015 14:44:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-create-a-search-out-of-an-imported-csv-file/m-p/159978#M32452</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2015-06-18T14:44:45Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a search out of an imported csv file</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-create-a-search-out-of-an-imported-csv-file/m-p/159979#M32453</link>
      <description>&lt;P&gt;If you are clear on all this now, please "Accept" an answer to close off the question.&lt;/P&gt;</description>
      <pubDate>Fri, 31 Jul 2015 15:10:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-create-a-search-out-of-an-imported-csv-file/m-p/159979#M32453</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2015-07-31T15:10:55Z</dc:date>
    </item>
  </channel>
</rss>

