<?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 How to define a file input for my data? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-to-define-a-file-input-for-my-data/m-p/124876#M25736</link>
    <description>&lt;P&gt;Our application has a very readable, but quite unindexable format.   Currently, its coming in as multiple lines, which is making my search results a bear to deal with.   The format looks like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;Entering:
Client:ClientCompanyName
LoggedInUser:me@me.com
Class:SurveyDAO
Method:isAdminUser(me@me.com)
StartTime: 2015-01-30 00:54:44 678
Query:select adminFlag from Accounts where id= ? 
EndTime:2015-01-30 00:54:44 990
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Anyone provide some help in defining a decent file input for that?&lt;/P&gt;</description>
    <pubDate>Mon, 02 Feb 2015 21:56:35 GMT</pubDate>
    <dc:creator>JasonCarter80</dc:creator>
    <dc:date>2015-02-02T21:56:35Z</dc:date>
    <item>
      <title>How to define a file input for my data?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-define-a-file-input-for-my-data/m-p/124876#M25736</link>
      <description>&lt;P&gt;Our application has a very readable, but quite unindexable format.   Currently, its coming in as multiple lines, which is making my search results a bear to deal with.   The format looks like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;Entering:
Client:ClientCompanyName
LoggedInUser:me@me.com
Class:SurveyDAO
Method:isAdminUser(me@me.com)
StartTime: 2015-01-30 00:54:44 678
Query:select adminFlag from Accounts where id= ? 
EndTime:2015-01-30 00:54:44 990
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Anyone provide some help in defining a decent file input for that?&lt;/P&gt;</description>
      <pubDate>Mon, 02 Feb 2015 21:56:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-define-a-file-input-for-my-data/m-p/124876#M25736</guid>
      <dc:creator>JasonCarter80</dc:creator>
      <dc:date>2015-02-02T21:56:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to define a file input for my data?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-define-a-file-input-for-my-data/m-p/124877#M25737</link>
      <description>&lt;P&gt;You need put configuration similar to below in props.conf against the sourcetype&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;                                   props.conf
                                   [sourcetype]
                                   SHOULD_LINEMERGE=TRUE
                                   BREAK_ONLY_BEFORE = Entering:
                                   TIME_FORMAT =  %Y-%m-%d %H:%M:%S %3N
                                   MAX_TIMESTAMP_LOOKAHEAD = 500
                                   TIME_PREFIX = StartTime:
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Note: I have not tested it and it should work fine.&lt;/P&gt;

&lt;P&gt;The above configure merges the multi lines event into single line and break the individual event at "Entering:"&lt;/P&gt;</description>
      <pubDate>Mon, 02 Feb 2015 22:51:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-define-a-file-input-for-my-data/m-p/124877#M25737</guid>
      <dc:creator>jayannah</dc:creator>
      <dc:date>2015-02-02T22:51:26Z</dc:date>
    </item>
    <item>
      <title>Re: How to define a file input for my data?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-define-a-file-input-for-my-data/m-p/124878#M25738</link>
      <description>&lt;P&gt;Worked like a charm!!! Thanks!&lt;/P&gt;</description>
      <pubDate>Tue, 03 Feb 2015 01:45:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-define-a-file-input-for-my-data/m-p/124878#M25738</guid>
      <dc:creator>JasonCarter80</dc:creator>
      <dc:date>2015-02-03T01:45:01Z</dc:date>
    </item>
  </channel>
</rss>

