<?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: props config for logs in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/props-config-for-logs/m-p/672576#M112663</link>
    <description>&lt;P&gt;What was the error?&lt;/P&gt;</description>
    <pubDate>Fri, 22 Dec 2023 01:05:35 GMT</pubDate>
    <dc:creator>richgalloway</dc:creator>
    <dc:date>2023-12-22T01:05:35Z</dc:date>
    <item>
      <title>props config for logs</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/props-config-for-logs/m-p/672563#M112654</link>
      <description>&lt;P&gt;Hi Splunk Community,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to create a props.conf for the sample log file below.&amp;nbsp;&lt;BR /&gt;My goal is to&amp;nbsp;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; * Delete the Header tag and remove the data from being ingested.&amp;nbsp;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; * Break the individual events by starting with ( "library!WindowsService_98!..." OR "processing!ReportServer_0-127!" )&lt;BR /&gt;&amp;nbsp; &amp;nbsp; * Extracting time stamp such as ( "!11/26/2023-00:21:18::")&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Heres the props.conf that I have so far but it is not working.&amp;nbsp;&lt;BR /&gt;---------&lt;/P&gt;&lt;P&gt;[sourcetype_name]&lt;/P&gt;&lt;P&gt;disabled = false&lt;BR /&gt;SHOULD_LINEMERGE =&amp;nbsp;false&lt;BR /&gt;MAX_TIMESTAMP_LOOKAHEAD =&amp;nbsp;80&lt;BR /&gt;TIME_FORMAT =&amp;nbsp;%m/%d/%Y-%H:%M:%S&lt;BR /&gt;LINE_BREAKER =&amp;nbsp;([\r\n]+)library!&lt;BR /&gt;SEDCMD-null =&amp;nbsp;(&amp;lt;Header&amp;gt;([\s\S]*?)&amp;lt;\/Header&amp;gt;)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;disabled&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;------------------- sample log file -------------------------&lt;BR /&gt;&amp;lt;Header&amp;gt;&lt;BR /&gt;&amp;lt;Product&amp;gt;Microsoft SQL Server Reporting Services Version 2007.0100.6000.029 ((Random_value).18802-2848 )&amp;lt;/Product&amp;gt;&lt;BR /&gt;&amp;lt;Locale&amp;gt;English (United States)&amp;lt;/Locale&amp;gt;&lt;BR /&gt;&amp;lt;TimeZone&amp;gt;Central Daylight Time&amp;lt;/TimeZone&amp;gt;&lt;BR /&gt;&amp;lt;Path&amp;gt;C:\Program Files\Microsoft SQL Server\MSRS10.MSSQLSERVER\Reporting Services\Logfiles\ReportServerService__11_26_2023_00_00_01.log&amp;lt;/Path&amp;gt;&lt;BR /&gt;&amp;lt;SystemName&amp;gt;hostName01&amp;lt;/SystemName&amp;gt;&lt;BR /&gt;&amp;lt;OSName&amp;gt;Microsoft Windows NT 6.2.9200&amp;lt;/OSName&amp;gt;&lt;BR /&gt;&amp;lt;OSVersion&amp;gt;6.2.9200&amp;lt;/OSVersion&amp;gt;&lt;BR /&gt;&amp;lt;ProcessID&amp;gt;3088&amp;lt;/ProcessID&amp;gt;&lt;BR /&gt;&amp;lt;/Header&amp;gt;library!WindowsService_98!1234!11/26/2023-00:00:01:: i INFO: Call to CleanBatch()&lt;BR /&gt;library!WindowsService_98!1234!11/26/2023-00:00:01:: i INFO: Cleaned 0 batch records, 0 policies, 0 sessions, 0 cache entries, 0 snapshots, 0 chunks, 0 running jobs, 0 persisted streams, 0 segments, 0 segment mappings.&lt;BR /&gt;library!WindowsService_98!1234!11/26/2023-00:00:01:: i INFO: Call to CleanBatch() ends&lt;BR /&gt;library!WindowsService_98!1218!11/26/2023-00:10:01:: i INFO: Call to CleanBatch()&lt;BR /&gt;library!WindowsService_98!1218!11/26/2023-00:10:01:: i INFO: Cleaned 0 batch records, 0 policies, 1 sessions, 0 cache entries, 1 snapshots, 14 chunks, 0 running jobs, 0 persisted streams, 9 segments, 9 segment mappings.&lt;BR /&gt;library!WindowsService_98!1218!11/26/2023-00:10:01:: i INFO: Call to CleanBatch() ends&lt;BR /&gt;library!WindowsService_98!d00!11/26/2023-00:20:01:: i INFO: Call to CleanBatch()&lt;BR /&gt;library!WindowsService_98!d00!11/26/2023-00:20:01:: i INFO: Cleaned 0 batch records, 0 policies, 0 sessions, 0 cache entries, 0 snapshots, 0 chunks, 0 running jobs, 0 persisted streams, 0 segments, 0 segment mappings.&lt;BR /&gt;library!WindowsService_98!d00!11/26/2023-00:20:01:: i INFO: Call to CleanBatch() ends&lt;BR /&gt;library!ReportServer_0-127!2558!11/26/2023-00:21:18:: i INFO: RenderForNewSession('/Hampton.Common.Reports/BOL')&lt;BR /&gt;processing!ReportServer_0-127!2558!11/26/2023-00:21:18:: e ERROR: Throwing Microsoft.ReportingServices.ReportProcessing.ReportProcessingException: There is no data for the field at position 19., ;&lt;BR /&gt;Info: Microsoft.ReportingServices.ReportProcessing.ReportProcessingException: There is no data for the field at position 19.&lt;BR /&gt;processing!ReportServer_0-127!2558!11/26/2023-00:21:18:: e ERROR: Throwing Microsoft.ReportingServices.ReportProcessing.ReportProcessingException: There is no data for the field at position 54., ;&lt;BR /&gt;Info: Microsoft.ReportingServices.ReportProcessing.ReportProcessingException: There is no data for the field at position 54.&lt;BR /&gt;processing!ReportServer_0-127!2558!11/26/2023-00:21:18:: e ERROR: Throwing Microsoft.ReportingServices.ReportProcessing.ReportProcessingException: There is no data for the field at position 61., ;&lt;BR /&gt;Info: Microsoft.ReportingServices.ReportProcessing.ReportProcessingException: There is no data for the field at position 61.&lt;BR /&gt;processing!ReportServer_0-127!2558!11/26/2023-00:21:18:: e ERROR: Throwing Microsoft.ReportingServices.ReportProcessing.ReportProcessingException: There is no data for the field at position 62., ;&lt;BR /&gt;Info: Microsoft.ReportingServices.ReportProcessing.ReportProcessingException: There is no data for the field at position 62.&lt;BR /&gt;processing!ReportServer_0-127!2558!11/26/2023-00:21:19:: e ERROR: Throwing Microsoft.ReportingServices.ReportProcessing.ReportProcessingException: There is no data for the field at position 1., ;&lt;BR /&gt;Info: Microsoft.ReportingServices.ReportProcessing.ReportProcessingException: There is no data for the field at position 1.&lt;BR /&gt;processing!ReportServer_0-127!2558!11/26/2023-00:21:19:: e ERROR: Throwing Microsoft.ReportingServices.ReportProcessing.ReportProcessingException: There is no data for the field at position 2., ;&lt;BR /&gt;Info: Microsoft.ReportingServices.ReportProcessing.ReportProcessingException: There is no data for the field at position 2.&lt;BR /&gt;processing!ReportServer_0-127!2558!11/26/2023-00:21:19:: e ERROR: Throwing Microsoft.ReportingServices.ReportProcessing.ReportProcessingException: There is no data for the field at position 1., ;&lt;BR /&gt;Info: Microsoft.ReportingServices.ReportProcessing.ReportProcessingException: There is no data for the field at position 1.&lt;BR /&gt;processing!ReportServer_0-127!2558!11/26/2023-00:21:19:: e ERROR: Throwing Microsoft.ReportingServices.ReportProcessing.ReportProcessingException: There is no data for the field at position 2., ;&lt;BR /&gt;Info: Microsoft.ReportingServices.ReportProcessing.ReportProcessingException: There is no data for the field at position 2.&lt;BR /&gt;library!WindowsService_98!1234!11/26/2023-00:30:01:: i INFO: Call to CleanBatch()&lt;BR /&gt;------------------- sample log file end -------------------------&lt;/P&gt;</description>
      <pubDate>Thu, 21 Dec 2023 20:04:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/props-config-for-logs/m-p/672563#M112654</guid>
      <dc:creator>Strangertinz</dc:creator>
      <dc:date>2023-12-21T20:04:23Z</dc:date>
    </item>
    <item>
      <title>Re: props config for logs</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/props-config-for-logs/m-p/672564#M112655</link>
      <description>&lt;P&gt;SEDCMD settings must contain either an s or y command not just a regex.&lt;/P&gt;&lt;P&gt;To properly extract a timestamp, the props stanza should contain TIME_PREFIX, TIME_FORMAT, and MAX_TIMESTAMP_LOOKAHEAD settings.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;[sourcetype_name]
disabled = false
SHOULD_LINEMERGE = false
MAX_TIMESTAMP_LOOKAHEAD = 80
TIME_FORMAT = %m/%d/%Y-%H:%M:%S
TIME_PREFIX = \d!
LINE_BREAKER = ([\r\n]+)library!
SEDCMD-null = s/\&amp;lt;Header&amp;gt;[\s\S]*?\&amp;lt;\/Header&amp;gt;//g&lt;/LI-CODE&gt;&lt;P&gt;You may have a problem with time zones, depending on the zones of the Splunk server and that in the data.&amp;nbsp; Ideally, the time zone should be specified as part of the timestamp rather than as a separate element.&amp;nbsp; The time zone should be a recognized abbreviation such as "CST" or "-0600".&amp;nbsp; BTW, Central Daylight Time is not in effect in November.&lt;/P&gt;</description>
      <pubDate>Thu, 21 Dec 2023 20:22:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/props-config-for-logs/m-p/672564#M112655</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2023-12-21T20:22:35Z</dc:date>
    </item>
    <item>
      <title>Re: props config for logs</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/props-config-for-logs/m-p/672572#M112660</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/213957"&gt;@richgalloway&lt;/a&gt;,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for getting back to me!&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;I tried the props.conf you proposed and got an error. Can you please try to upload the sample data with the sourcetype config you provided and see if you have any luck.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Dec 2023 22:49:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/props-config-for-logs/m-p/672572#M112660</guid>
      <dc:creator>Strangertinz</dc:creator>
      <dc:date>2023-12-21T22:49:25Z</dc:date>
    </item>
    <item>
      <title>Re: props config for logs</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/props-config-for-logs/m-p/672576#M112663</link>
      <description>&lt;P&gt;What was the error?&lt;/P&gt;</description>
      <pubDate>Fri, 22 Dec 2023 01:05:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/props-config-for-logs/m-p/672576#M112663</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2023-12-22T01:05:35Z</dc:date>
    </item>
    <item>
      <title>Re: props config for logs</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/props-config-for-logs/m-p/672578#M112664</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/213957"&gt;@richgalloway&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I am getting the error below. I can't even get Splunk to interpret the data as regular text.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen Shot 2023-12-21 at 7.11.32 PM.png" style="width: 999px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/28647i11E7C0D5F28D5DE5/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screen Shot 2023-12-21 at 7.11.32 PM.png" alt="Screen Shot 2023-12-21 at 7.11.32 PM.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 22 Dec 2023 01:14:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/props-config-for-logs/m-p/672578#M112664</guid>
      <dc:creator>Strangertinz</dc:creator>
      <dc:date>2023-12-22T01:14:34Z</dc:date>
    </item>
    <item>
      <title>Re: props config for logs</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/props-config-for-logs/m-p/672579#M112665</link>
      <description>&lt;P&gt;These settings may be cleaner, but I'm not sure what I'm trying to fix.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;SHOULD_LINEMERGE=false
LINE_BREAKER=()library!
NO_BINARY_CHECK=true
TIME_FORMAT=%m/%d/%Y-%H:%M:%S
TIME_PREFIX=!\w{3,4}!
SEDCMD-null=s/\&amp;lt;Header&amp;gt;[\s\S]*?\&amp;lt;\/Header&amp;gt;//g
MAX_TIMESTAMP_LOOKAHEAD=80&lt;/LI-CODE&gt;</description>
      <pubDate>Fri, 22 Dec 2023 01:19:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/props-config-for-logs/m-p/672579#M112665</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2023-12-22T01:19:05Z</dc:date>
    </item>
    <item>
      <title>Re: props config for logs</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/props-config-for-logs/m-p/672580#M112666</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/213957"&gt;@richgalloway&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;I am still getting the same error. Are you able to copy the sample data and ingest it into Splunk to see the errors I am getting?&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Fri, 22 Dec 2023 01:35:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/props-config-for-logs/m-p/672580#M112666</guid>
      <dc:creator>Strangertinz</dc:creator>
      <dc:date>2023-12-22T01:35:28Z</dc:date>
    </item>
    <item>
      <title>Re: props config for logs</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/props-config-for-logs/m-p/672599#M112669</link>
      <description>&lt;P&gt;I did copy the example text and ingest it successfully.&amp;nbsp; I did not see the encoded text you see.&lt;/P&gt;</description>
      <pubDate>Fri, 22 Dec 2023 13:09:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/props-config-for-logs/m-p/672599#M112669</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2023-12-22T13:09:05Z</dc:date>
    </item>
    <item>
      <title>Re: props config for logs</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/props-config-for-logs/m-p/672616#M112677</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/213957"&gt;@richgalloway&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Can you share a picture of the sourcetype along with the Splunk web screenshot? I am still getting errors on my end.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Fri, 22 Dec 2023 16:33:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/props-config-for-logs/m-p/672616#M112677</guid>
      <dc:creator>Strangertinz</dc:creator>
      <dc:date>2023-12-22T16:33:06Z</dc:date>
    </item>
    <item>
      <title>Re: props config for logs</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/props-config-for-logs/m-p/672619#M112679</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="richgalloway_0-1703263170243.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/28652iD7A184760156EB65/image-size/medium?v=v2&amp;amp;px=400" role="button" title="richgalloway_0-1703263170243.png" alt="richgalloway_0-1703263170243.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 22 Dec 2023 16:39:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/props-config-for-logs/m-p/672619#M112679</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2023-12-22T16:39:39Z</dc:date>
    </item>
    <item>
      <title>Re: props config for logs</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/props-config-for-logs/m-p/672632#M112681</link>
      <description>&lt;P&gt;Thanks its fixed now&lt;/P&gt;</description>
      <pubDate>Fri, 22 Dec 2023 17:44:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/props-config-for-logs/m-p/672632#M112681</guid>
      <dc:creator>Strangertinz</dc:creator>
      <dc:date>2023-12-22T17:44:26Z</dc:date>
    </item>
    <item>
      <title>Re: props config for logs</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/props-config-for-logs/m-p/686727#M114493</link>
      <description>&lt;P&gt;Please change the sourcetype and try&lt;/P&gt;</description>
      <pubDate>Tue, 07 May 2024 14:14:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/props-config-for-logs/m-p/686727#M114493</guid>
      <dc:creator>Sridevi1</dc:creator>
      <dc:date>2024-05-07T14:14:36Z</dc:date>
    </item>
  </channel>
</rss>

