<?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 What is the proper way to load a CSV File ? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/What-is-the-proper-way-to-load-a-CSV-File/m-p/154709#M31445</link>
    <description>&lt;P&gt;I have a CSV file which has a header. I want to load this in SPLUNK and want to perform searches using different fields. The file looks like :&lt;/P&gt;

&lt;P&gt;TimeStamp, IPAddress, UserName, URL&lt;BR /&gt;
2013-11-21 16:67:36,221.78.127.76,JADE,&lt;A href="http://www.google.com"&gt;www.google.com&lt;/A&gt;&lt;BR /&gt;
2013-10-22 12:55:37,341.78.125.77,JADE,&lt;A href="http://www.rediff.com"&gt;www.rediff.com&lt;/A&gt;&lt;BR /&gt;
2013-09-11 10:21:40,121.78.127.78,JADE,&lt;A href="http://www.youtube.com"&gt;www.youtube.com&lt;/A&gt;&lt;BR /&gt;
2013-08-24 07:11:25,121.78.128.80,JADE,&lt;A href="http://www.ndtv.com"&gt;www.ndtv.com&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;I tried to load it through the UI through : Add Data --&amp;gt; A file or directory of files --&amp;gt; Browsing for the file. Applied the source type CSV. But it is not recognizing the headers or the fields.&lt;/P&gt;

&lt;P&gt;What is the proper way to do this ?&lt;/P&gt;</description>
    <pubDate>Mon, 25 Nov 2013 09:24:52 GMT</pubDate>
    <dc:creator>sanujss</dc:creator>
    <dc:date>2013-11-25T09:24:52Z</dc:date>
    <item>
      <title>What is the proper way to load a CSV File ?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/What-is-the-proper-way-to-load-a-CSV-File/m-p/154709#M31445</link>
      <description>&lt;P&gt;I have a CSV file which has a header. I want to load this in SPLUNK and want to perform searches using different fields. The file looks like :&lt;/P&gt;

&lt;P&gt;TimeStamp, IPAddress, UserName, URL&lt;BR /&gt;
2013-11-21 16:67:36,221.78.127.76,JADE,&lt;A href="http://www.google.com"&gt;www.google.com&lt;/A&gt;&lt;BR /&gt;
2013-10-22 12:55:37,341.78.125.77,JADE,&lt;A href="http://www.rediff.com"&gt;www.rediff.com&lt;/A&gt;&lt;BR /&gt;
2013-09-11 10:21:40,121.78.127.78,JADE,&lt;A href="http://www.youtube.com"&gt;www.youtube.com&lt;/A&gt;&lt;BR /&gt;
2013-08-24 07:11:25,121.78.128.80,JADE,&lt;A href="http://www.ndtv.com"&gt;www.ndtv.com&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;I tried to load it through the UI through : Add Data --&amp;gt; A file or directory of files --&amp;gt; Browsing for the file. Applied the source type CSV. But it is not recognizing the headers or the fields.&lt;/P&gt;

&lt;P&gt;What is the proper way to do this ?&lt;/P&gt;</description>
      <pubDate>Mon, 25 Nov 2013 09:24:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/What-is-the-proper-way-to-load-a-CSV-File/m-p/154709#M31445</guid>
      <dc:creator>sanujss</dc:creator>
      <dc:date>2013-11-25T09:24:52Z</dc:date>
    </item>
    <item>
      <title>Re: What is the proper way to load a CSV File ?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/What-is-the-proper-way-to-load-a-CSV-File/m-p/154710#M31446</link>
      <description>&lt;P&gt;Extract the fields manually after indexing the file using Fields Extractions. Or you can edit props.conf and transform.conf files. &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;props.conf
[myfile]
KV_MODE = none
SHOULD_LINEMERGE = false
REPORT-Myfile = Myfile_extractions

transforms.conf
[Myfile_extractions]
DELIM=","
FIELDS=TimeStamp,IPAddress,UserName,URL
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 25 Nov 2013 09:37:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/What-is-the-proper-way-to-load-a-CSV-File/m-p/154710#M31446</guid>
      <dc:creator>royimad</dc:creator>
      <dc:date>2013-11-25T09:37:11Z</dc:date>
    </item>
    <item>
      <title>Re: What is the proper way to load a CSV File ?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/What-is-the-proper-way-to-load-a-CSV-File/m-p/154711#M31447</link>
      <description>&lt;P&gt;Thanks royimad for the quick help. I am a new bee in SPLUNK. I can see lot of props.conf, transforms.conf in locations like system, legacy, apps etc. Which one I need to edit ?&lt;/P&gt;</description>
      <pubDate>Mon, 25 Nov 2013 09:46:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/What-is-the-proper-way-to-load-a-CSV-File/m-p/154711#M31447</guid>
      <dc:creator>sanujss</dc:creator>
      <dc:date>2013-11-25T09:46:34Z</dc:date>
    </item>
    <item>
      <title>Re: What is the proper way to load a CSV File ?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/What-is-the-proper-way-to-load-a-CSV-File/m-p/154712#M31448</link>
      <description>&lt;P&gt;$SPLUNK_HOME/etc/apps/YOURAPPS/default , it depend on your installation, by default it's /opt/splunk/etc/apps/YOURAPPS/default&lt;/P&gt;</description>
      <pubDate>Mon, 25 Nov 2013 12:24:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/What-is-the-proper-way-to-load-a-CSV-File/m-p/154712#M31448</guid>
      <dc:creator>royimad</dc:creator>
      <dc:date>2013-11-25T12:24:14Z</dc:date>
    </item>
    <item>
      <title>Re: What is the proper way to load a CSV File ?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/What-is-the-proper-way-to-load-a-CSV-File/m-p/154713#M31449</link>
      <description>&lt;P&gt;Thank you so much. Let me give a try&lt;/P&gt;</description>
      <pubDate>Mon, 25 Nov 2013 12:30:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/What-is-the-proper-way-to-load-a-CSV-File/m-p/154713#M31449</guid>
      <dc:creator>sanujss</dc:creator>
      <dc:date>2013-11-25T12:30:16Z</dc:date>
    </item>
  </channel>
</rss>

