<?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 process a text file in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-to-process-a-text-file/m-p/96399#M20098</link>
    <description>&lt;P&gt;Have you tried using the Data input's data preview in the splunk web gui?&lt;/P&gt;

&lt;P&gt;Click manager/data/data inputs/Add data.&lt;/P&gt;

&lt;P&gt;It will allow you to play with the field extractions until its looking right.&lt;/P&gt;</description>
    <pubDate>Mon, 14 Oct 2013 04:11:01 GMT</pubDate>
    <dc:creator>Lucas_K</dc:creator>
    <dc:date>2013-10-14T04:11:01Z</dc:date>
    <item>
      <title>How to process a text file</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-process-a-text-file/m-p/96398#M20097</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I have a test file which I want to process in Splunk. I'm able to load it into Splunk, but I'm trying to get Splunk to understand the fields and I'm stuck in what to do next.&lt;/P&gt;

&lt;P&gt;For example:&lt;/P&gt;

&lt;P&gt;Timestamp   Event&lt;BR /&gt;
1   10/14/13 10:43:35.000 AM&lt;BR /&gt;&lt;BR /&gt;
H20130326&lt;BR /&gt;&lt;BR /&gt;
2   10/14/13 10:43:35.000 AM&lt;BR /&gt;&lt;BR /&gt;
D HE12201303250329551124038092GTB27C02020402201303250337540000700000000000000&lt;BR /&gt;&lt;BR /&gt;
3   10/14/13 10:43:35.000 AM&lt;BR /&gt;&lt;BR /&gt;
D HE12201303250331431120034094GTB27C02020402201303250341580001000000000000000&lt;BR /&gt;&lt;BR /&gt;
4   10/14/13 10:43:35.000 AM&lt;BR /&gt;&lt;BR /&gt;
D HE12201303250349001050366450GTB27C02020402201303250350440000100000000000000    &lt;/P&gt;

&lt;P&gt;As you can see, my data is pretty much a long line of characters. In excel, I would use delimiter by field length to extract the data for excel to understand the file. Can I do the same thing with Splunk?&lt;/P&gt;

&lt;P&gt;Much help is appreciated!&lt;/P&gt;

&lt;P&gt;Thanks in advanced.&lt;/P&gt;</description>
      <pubDate>Mon, 14 Oct 2013 03:13:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-process-a-text-file/m-p/96398#M20097</guid>
      <dc:creator>TimothyPeh</dc:creator>
      <dc:date>2013-10-14T03:13:51Z</dc:date>
    </item>
    <item>
      <title>Re: How to process a text file</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-process-a-text-file/m-p/96399#M20098</link>
      <description>&lt;P&gt;Have you tried using the Data input's data preview in the splunk web gui?&lt;/P&gt;

&lt;P&gt;Click manager/data/data inputs/Add data.&lt;/P&gt;

&lt;P&gt;It will allow you to play with the field extractions until its looking right.&lt;/P&gt;</description>
      <pubDate>Mon, 14 Oct 2013 04:11:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-process-a-text-file/m-p/96399#M20098</guid>
      <dc:creator>Lucas_K</dc:creator>
      <dc:date>2013-10-14T04:11:01Z</dc:date>
    </item>
  </channel>
</rss>

