<?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: Writing props.conf for logfile having below log style in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Writing-props-conf-for-logfile-having-below-log-style/m-p/305014#M92804</link>
    <description>&lt;PRE&gt;&lt;CODE&gt;*****************************************************************************
***************           SYSTEM    ERROR:   510762           ***************
DATE: 07/06/2017 ********************************************* TIME: 12:00 AM

&amp;lt;1 line text&amp;gt;


&amp;lt;2 line text&amp;gt;

REFERENCE CODE: DMS_RMT_FILECOPY-82727


*****************************************************************************
***************           SYSTEM    ERROR:   510763           ***************
DATE: 07/06/2017 ********************************************* TIME: 12:00 AM

&amp;lt;1 line text&amp;gt;


&amp;lt;2 line text&amp;gt;

REFERENCE CODE: DMS_RMT_FILECOPY-82728


*****************************************************************************
***************           SYSTEM    ERROR:   510764           ***************
DATE: 07/06/2017 ********************************************* TIME: 12:00 AM

&amp;lt;1 line text&amp;gt;


&amp;lt;2 line text&amp;gt;

REFERENCE CODE: DMS_RMT_FILECOPY-82727
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Thu, 13 Jul 2017 12:21:22 GMT</pubDate>
    <dc:creator>ajaylowes</dc:creator>
    <dc:date>2017-07-13T12:21:22Z</dc:date>
    <item>
      <title>Writing props.conf for logfile having below log style</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Writing-props-conf-for-logfile-having-below-log-style/m-p/305010#M92800</link>
      <description>&lt;PRE&gt;&lt;CODE&gt;*****************************************************************************
***************           SYSTEM    ERROR:   000000           ***************
DATE: 07/05/2017 ********************************************* TIME: 12:00 AM

i am starting to learn splunk , its good and very interesting &amp;gt; i love splunk ./
REFERENCE CODE: ABC_XYZ_FILECOPY-82728
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;i need to create props.conf to break the logfile containing logs shown above into events.&lt;BR /&gt;
Please help me write one props.conf which remove all stars since they are not useful&lt;/P&gt;

&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Wed, 12 Jul 2017 13:48:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Writing-props-conf-for-logfile-having-below-log-style/m-p/305010#M92800</guid>
      <dc:creator>ajaylowes</dc:creator>
      <dc:date>2017-07-12T13:48:59Z</dc:date>
    </item>
    <item>
      <title>Re: Writing props.conf for logfile having below log style</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Writing-props-conf-for-logfile-having-below-log-style/m-p/305011#M92801</link>
      <description>&lt;P&gt;If this is the whole log, then it looks like you want one event per file. Try this in props.conf&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[yoursourcetypehere]
BREAK_ONLY_BEFORE=^**************************************************$
TIME_PREFIX = DATE\:
MAX_TIMESTAMP_LOOKAHEAD = 200
TIME_FORMAT = %m/%d/%Y ********************************************* TIME: %H:%M %p
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;You may have to tweak this a bit to get it right for your log file.&lt;/P&gt;</description>
      <pubDate>Wed, 12 Jul 2017 18:52:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Writing-props-conf-for-logfile-having-below-log-style/m-p/305011#M92801</guid>
      <dc:creator>lguinn2</dc:creator>
      <dc:date>2017-07-12T18:52:20Z</dc:date>
    </item>
    <item>
      <title>Re: Writing props.conf for logfile having below log style</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Writing-props-conf-for-logfile-having-below-log-style/m-p/305012#M92802</link>
      <description>&lt;P&gt;There are several similar logs in one file. Also , i need to remove stars from the log since they are unwanted.&lt;/P&gt;</description>
      <pubDate>Wed, 12 Jul 2017 18:54:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Writing-props-conf-for-logfile-having-below-log-style/m-p/305012#M92802</guid>
      <dc:creator>ajaylowes</dc:creator>
      <dc:date>2017-07-12T18:54:07Z</dc:date>
    </item>
    <item>
      <title>Re: Writing props.conf for logfile having below log style</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Writing-props-conf-for-logfile-having-below-log-style/m-p/305013#M92803</link>
      <description>&lt;P&gt;Show us the first 2 events and the last 2 events.&lt;/P&gt;</description>
      <pubDate>Thu, 13 Jul 2017 01:48:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Writing-props-conf-for-logfile-having-below-log-style/m-p/305013#M92803</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2017-07-13T01:48:50Z</dc:date>
    </item>
    <item>
      <title>Re: Writing props.conf for logfile having below log style</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Writing-props-conf-for-logfile-having-below-log-style/m-p/305014#M92804</link>
      <description>&lt;PRE&gt;&lt;CODE&gt;*****************************************************************************
***************           SYSTEM    ERROR:   510762           ***************
DATE: 07/06/2017 ********************************************* TIME: 12:00 AM

&amp;lt;1 line text&amp;gt;


&amp;lt;2 line text&amp;gt;

REFERENCE CODE: DMS_RMT_FILECOPY-82727


*****************************************************************************
***************           SYSTEM    ERROR:   510763           ***************
DATE: 07/06/2017 ********************************************* TIME: 12:00 AM

&amp;lt;1 line text&amp;gt;


&amp;lt;2 line text&amp;gt;

REFERENCE CODE: DMS_RMT_FILECOPY-82728


*****************************************************************************
***************           SYSTEM    ERROR:   510764           ***************
DATE: 07/06/2017 ********************************************* TIME: 12:00 AM

&amp;lt;1 line text&amp;gt;


&amp;lt;2 line text&amp;gt;

REFERENCE CODE: DMS_RMT_FILECOPY-82727
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 13 Jul 2017 12:21:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Writing-props-conf-for-logfile-having-below-log-style/m-p/305014#M92804</guid>
      <dc:creator>ajaylowes</dc:creator>
      <dc:date>2017-07-13T12:21:22Z</dc:date>
    </item>
    <item>
      <title>Re: Writing props.conf for logfile having below log style</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Writing-props-conf-for-logfile-having-below-log-style/m-p/305015#M92805</link>
      <description>&lt;P&gt;Use these settings in props.conf:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[yourSourcetypeHere]
LINE_BREAKER = ([\r\n]+)\*{70}
TIME_PREFIX = DATE\:
MAX_TIMESTAMP_LOOKAHEAD = 80
TIME_FORMAT = %m/%d/%Y ********************************************* TIME: %H:%M %p
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 13 Jul 2017 14:15:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Writing-props-conf-for-logfile-having-below-log-style/m-p/305015#M92805</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2017-07-13T14:15:22Z</dc:date>
    </item>
    <item>
      <title>Re: Writing props.conf for logfile having below log style</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Writing-props-conf-for-logfile-having-below-log-style/m-p/305016#M92806</link>
      <description>&lt;P&gt;in props.conf &lt;/P&gt;

&lt;P&gt;[my_source_type]&lt;BR /&gt;
SEDCMD-remove_asteriks1 =  s/(\W+\s+)SYSTEM/SYSTEM/g&lt;BR /&gt;
SEDCMD-remove_asteriks2 = s/(\s+\W+)DATE:/ DATE:/g&lt;BR /&gt;
SEDCMD-remove_asteriks3 =  s/(\s+\W+)TIME:/ TIME:/g&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 14:54:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Writing-props-conf-for-logfile-having-below-log-style/m-p/305016#M92806</guid>
      <dc:creator>sbbadri</dc:creator>
      <dc:date>2020-09-29T14:54:50Z</dc:date>
    </item>
    <item>
      <title>Re: Writing props.conf for logfile having below log style</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Writing-props-conf-for-logfile-having-below-log-style/m-p/305017#M92807</link>
      <description>&lt;P&gt;does this remove the star from the event and then digest it into splunk?&lt;/P&gt;</description>
      <pubDate>Thu, 13 Jul 2017 15:58:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Writing-props-conf-for-logfile-having-below-log-style/m-p/305017#M92807</guid>
      <dc:creator>ajaylowes</dc:creator>
      <dc:date>2017-07-13T15:58:13Z</dc:date>
    </item>
    <item>
      <title>Re: Writing props.conf for logfile having below log style</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Writing-props-conf-for-logfile-having-below-log-style/m-p/305018#M92808</link>
      <description>&lt;P&gt;hi ,&lt;/P&gt;

&lt;P&gt;can you please explain how that works....&lt;/P&gt;</description>
      <pubDate>Thu, 13 Jul 2017 16:03:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Writing-props-conf-for-logfile-having-below-log-style/m-p/305018#M92808</guid>
      <dc:creator>ajaylowes</dc:creator>
      <dc:date>2017-07-13T16:03:12Z</dc:date>
    </item>
  </channel>
</rss>

