<?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: Issue with props. in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Issue-with-props/m-p/75810#M181415</link>
    <description>&lt;P&gt;You should set &lt;CODE&gt;SHOULD_LINEMERGE = false&lt;/CODE&gt; if you intend to use &lt;CODE&gt;LINE_BREAKER&lt;/CODE&gt;. While I like the &lt;CODE&gt;LINE_BREAKER&lt;/CODE&gt; approach over the &lt;CODE&gt;SHOULD_LINEMERGE&lt;/CODE&gt;, for performance reasons, I think that Ayn has some solid advice below.&lt;/P&gt;</description>
    <pubDate>Wed, 26 Jun 2013 12:37:46 GMT</pubDate>
    <dc:creator>kristian_kolb</dc:creator>
    <dc:date>2013-06-26T12:37:46Z</dc:date>
    <item>
      <title>Issue with props.</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Issue-with-props/m-p/75800#M181405</link>
      <description>&lt;P&gt;Hello &lt;/P&gt;

&lt;P&gt;This is the props.conf which I have now&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[xxx]
TIME_FORMAT = %a %m/%d/%Y %H:%M:%S.%2N (Is this supposed to be %3N? Even then it doesn't work. Becuase of this I have a regex to extract the time.But somehow even that doesn't populate timestamp field.Instead to make the regex work,I have to call it with "time" as field)
SHOULD_LINEMERGE = False
LINE_BREAKER =  \r\n\s+\(.*\)([\r\n])
TRUNCATE = 999999
MAX_TIMESTAMP_LOOKAHEAD = 12
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;and this is how each event is in the data&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;Tue 06/25/2013 19:55:46.91 

SERVICE_NAME: TL_SearchSvr 
        TYPE               : 10  WIN32_OWN_PROCESS  
        STATE              : 4  RUNNING 
                                (STOPPABLE, NOT_PAUSABLE, IGNORES_SHUTDOWN)
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I am kinda lost on why is the timestamp field not being extracted. Any help please&lt;/P&gt;</description>
      <pubDate>Wed, 26 Jun 2013 01:13:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Issue-with-props/m-p/75800#M181405</guid>
      <dc:creator>theouhuios</dc:creator>
      <dc:date>2013-06-26T01:13:09Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with props.</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Issue-with-props/m-p/75801#M181406</link>
      <description>&lt;P&gt;try this one:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;TIME_FORMAT = %a\s%m/%d/%Y\s%H:%M:%S.%2N
LINE_BREAKER =  \r\n\s+\(.*\)([\r\n])
TRUNCATE = 999999
MAX_TIMESTAMP_LOOKAHEAD = 27
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;&lt;IMG src="http://splunk-base.splunk.com//storage/Screen_Shot_2013-06-27_at_12.46.20_PM.png" alt="alt text" /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 26 Jun 2013 02:54:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Issue-with-props/m-p/75801#M181406</guid>
      <dc:creator>asimagu</dc:creator>
      <dc:date>2013-06-26T02:54:30Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with props.</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Issue-with-props/m-p/75802#M181407</link>
      <description>&lt;P&gt;Still the same.&lt;/P&gt;</description>
      <pubDate>Wed, 26 Jun 2013 03:43:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Issue-with-props/m-p/75802#M181407</guid>
      <dc:creator>theouhuios</dc:creator>
      <dc:date>2013-06-26T03:43:46Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with props.</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Issue-with-props/m-p/75803#M181408</link>
      <description>&lt;P&gt;I replicated your log on my laptop and it worked. &lt;BR /&gt;
The data that was already indexed is not going to change unless you clean the index, do u know how to do that?&lt;/P&gt;</description>
      <pubDate>Wed, 26 Jun 2013 03:46:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Issue-with-props/m-p/75803#M181408</guid>
      <dc:creator>asimagu</dc:creator>
      <dc:date>2013-06-26T03:46:30Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with props.</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Issue-with-props/m-p/75804#M181409</link>
      <description>&lt;P&gt;did u notice that I changed the MAX_TIMESTAMP_LOOKAHEAD ?&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 14:10:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Issue-with-props/m-p/75804#M181409</guid>
      <dc:creator>asimagu</dc:creator>
      <dc:date>2020-09-28T14:10:32Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with props.</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Issue-with-props/m-p/75805#M181410</link>
      <description>&lt;P&gt;oh.. missed that.. let me try that..I guess I missed that part while checking things.&lt;/P&gt;</description>
      <pubDate>Wed, 26 Jun 2013 04:28:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Issue-with-props/m-p/75805#M181410</guid>
      <dc:creator>theouhuios</dc:creator>
      <dc:date>2013-06-26T04:28:28Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with props.</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Issue-with-props/m-p/75806#M181411</link>
      <description>&lt;P&gt;Yup, I know how to clean the index. But its still test data so no worries about it.&lt;/P&gt;</description>
      <pubDate>Wed, 26 Jun 2013 04:29:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Issue-with-props/m-p/75806#M181411</guid>
      <dc:creator>theouhuios</dc:creator>
      <dc:date>2013-06-26T04:29:01Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with props.</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Issue-with-props/m-p/75807#M181412</link>
      <description>&lt;P&gt;still doesnt work. Di i need to remove Should_linemerge? I don't think will affect it.&lt;/P&gt;</description>
      <pubDate>Wed, 26 Jun 2013 05:02:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Issue-with-props/m-p/75807#M181412</guid>
      <dc:creator>theouhuios</dc:creator>
      <dc:date>2013-06-26T05:02:08Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with props.</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Issue-with-props/m-p/75808#M181413</link>
      <description>&lt;P&gt;well I did not see the should_linemerge line there, but I don´t think it should affect. when cleaning the index, maybe you can try cleaning the one where the data got indexed and the _thefishbucket &lt;BR /&gt;
I´m guessing the problem is around the issue of reindexing the events with this new config, either that or create new test events&lt;/P&gt;</description>
      <pubDate>Wed, 26 Jun 2013 05:22:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Issue-with-props/m-p/75808#M181413</guid>
      <dc:creator>asimagu</dc:creator>
      <dc:date>2013-06-26T05:22:46Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with props.</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Issue-with-props/m-p/75809#M181414</link>
      <description>&lt;P&gt;I think you're making this much more complicated than it needs to be. All you need to do to make everything work properly is make sure your timestamps are being recognized - that should also solve your event breaking problems, because by default Splunk breaks into a new event whenever it recognizes a valid timestamp.&lt;/P&gt;

&lt;P&gt;The obvious problem I see with your config is that you have &lt;CODE&gt;MAX_TIMESTAMP_LOOKAHEAD&lt;/CODE&gt; set to &lt;CODE&gt;12&lt;/CODE&gt;, so you're telling Splunk to &lt;EM&gt;only&lt;/EM&gt; look at the first 12 characters and then try to match those against your &lt;CODE&gt;TIME_FORMAT&lt;/CODE&gt;. So for your sample event, it tries to match &lt;CODE&gt;Tue 06/25/20&lt;/CODE&gt; (rest is cut off). You should just remove the &lt;CODE&gt;MAX_TIMESTAMP_LOOKAHEAD&lt;/CODE&gt; altogether, along with...well, the rest of your configuration directives really &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; Remove &lt;CODE&gt;LINE_BREAKER&lt;/CODE&gt;, &lt;CODE&gt;TRUNCATE&lt;/CODE&gt;, &lt;CODE&gt;SHOULD_LINEMERGE&lt;/CODE&gt;...Possibly even including &lt;CODE&gt;TIME_FORMAT&lt;/CODE&gt; because I suspect Splunk will recognize the timestamp out of the box, but this might not be the case.&lt;/P&gt;

&lt;P&gt;So the resulting stanza would be something like&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[xxx]
TIME_FORMAT = %a %m/%d/%Y %H:%M:%S.%2N
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;(btw, your &lt;CODE&gt;TIME_FORMAT&lt;/CODE&gt; should indeed have %2N, not %3N, because there's 2 digits after the decimal point, not 3.)&lt;/P&gt;

&lt;P&gt;Also as a general note I find that it's often much easier to work with event breaking settings instead of trying to setup custom line breakers.&lt;/P&gt;</description>
      <pubDate>Wed, 26 Jun 2013 06:25:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Issue-with-props/m-p/75809#M181414</guid>
      <dc:creator>Ayn</dc:creator>
      <dc:date>2013-06-26T06:25:30Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with props.</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Issue-with-props/m-p/75810#M181415</link>
      <description>&lt;P&gt;You should set &lt;CODE&gt;SHOULD_LINEMERGE = false&lt;/CODE&gt; if you intend to use &lt;CODE&gt;LINE_BREAKER&lt;/CODE&gt;. While I like the &lt;CODE&gt;LINE_BREAKER&lt;/CODE&gt; approach over the &lt;CODE&gt;SHOULD_LINEMERGE&lt;/CODE&gt;, for performance reasons, I think that Ayn has some solid advice below.&lt;/P&gt;</description>
      <pubDate>Wed, 26 Jun 2013 12:37:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Issue-with-props/m-p/75810#M181415</guid>
      <dc:creator>kristian_kolb</dc:creator>
      <dc:date>2013-06-26T12:37:46Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with props.</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Issue-with-props/m-p/75811#M181416</link>
      <description>&lt;P&gt;Should Time_format config effect the timestamp field in the data? I thought timestamp field gets populated when the Time_FORMAT config works fine. Am I right?&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 14:10:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Issue-with-props/m-p/75811#M181416</guid>
      <dc:creator>theouhuios</dc:creator>
      <dc:date>2020-09-28T14:10:45Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with props.</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Issue-with-props/m-p/75812#M181417</link>
      <description>&lt;P&gt;&lt;CODE&gt;_time&lt;/CODE&gt; ALWAYS gets populated. If a string matching your &lt;CODE&gt;TIME_FORMAT&lt;/CODE&gt; is found in the event that's used. If no match is found Splunk will resort to other methods. See more here: &lt;A href="http://docs.splunk.com/Documentation/Splunk/5.0/Data/Configuretimestamprecognition"&gt;http://docs.splunk.com/Documentation/Splunk/5.0/Data/Configuretimestamprecognition&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 26 Jun 2013 13:46:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Issue-with-props/m-p/75812#M181417</guid>
      <dc:creator>Ayn</dc:creator>
      <dc:date>2013-06-26T13:46:09Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with props.</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Issue-with-props/m-p/75813#M181418</link>
      <description>&lt;P&gt;I was just advising what worked for me when I replicated theouhuios' problem on my laptop, I am editing my answer to add a screenshot of my results.&lt;BR /&gt;
Of course I always respect what your workmate has to say &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 27 Jun 2013 00:48:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Issue-with-props/m-p/75813#M181418</guid>
      <dc:creator>asimagu</dc:creator>
      <dc:date>2013-06-27T00:48:15Z</dc:date>
    </item>
  </channel>
</rss>

