<?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 Using ASCII FS/GS Control Characters as Delimiters in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Using-ASCII-FS-GS-Control-Characters-as-Delimiters/m-p/553603#M91783</link>
    <description>&lt;P&gt;Hello! I'm having such a hard time with this but I know it is super-simple to do.&amp;nbsp; &amp;nbsp;Our log files are structured to use&amp;nbsp; RS (\x1E) and GS (\x1D).&amp;nbsp; &amp;nbsp;I'm trying to configure the props.conf for this sourcetype but it's just not properly picking up the lines/fields:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;BREAK_ONLY_BEFORE_DATE =
DATETIME_CONFIG =
LINE_BREAKER = \x1E
NO_BINARY_CHECK = true
SHOULD_LINEMERGE = false
category = Application
pulldown_type = 1
description = Logs that contain the FS/RS characters
disabled = false
FIELD_DELIMITER = \x1D&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;An example of a log (converting ascii character codes as human-readable for this post):&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;\x1E&lt;/SPAN&gt;&lt;SPAN class="s2"&gt;2021-05-28T12:00:35.489-0700 &lt;/SPAN&gt;&lt;SPAN class="s1"&gt;\x1D&lt;/SPAN&gt;&lt;SPAN class="s2"&gt;INFO&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="s1"&gt;\x1Dservice&lt;/SPAN&gt;&lt;SPAN class="s2"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="s1"&gt;\x1DBlah blah this is the main log message with possible newline characters&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;What stupid thing am I doing? &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Sat, 29 May 2021 03:55:44 GMT</pubDate>
    <dc:creator>nboscia</dc:creator>
    <dc:date>2021-05-29T03:55:44Z</dc:date>
    <item>
      <title>Using ASCII FS/GS Control Characters as Delimiters</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Using-ASCII-FS-GS-Control-Characters-as-Delimiters/m-p/553603#M91783</link>
      <description>&lt;P&gt;Hello! I'm having such a hard time with this but I know it is super-simple to do.&amp;nbsp; &amp;nbsp;Our log files are structured to use&amp;nbsp; RS (\x1E) and GS (\x1D).&amp;nbsp; &amp;nbsp;I'm trying to configure the props.conf for this sourcetype but it's just not properly picking up the lines/fields:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;BREAK_ONLY_BEFORE_DATE =
DATETIME_CONFIG =
LINE_BREAKER = \x1E
NO_BINARY_CHECK = true
SHOULD_LINEMERGE = false
category = Application
pulldown_type = 1
description = Logs that contain the FS/RS characters
disabled = false
FIELD_DELIMITER = \x1D&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;An example of a log (converting ascii character codes as human-readable for this post):&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;\x1E&lt;/SPAN&gt;&lt;SPAN class="s2"&gt;2021-05-28T12:00:35.489-0700 &lt;/SPAN&gt;&lt;SPAN class="s1"&gt;\x1D&lt;/SPAN&gt;&lt;SPAN class="s2"&gt;INFO&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="s1"&gt;\x1Dservice&lt;/SPAN&gt;&lt;SPAN class="s2"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="s1"&gt;\x1DBlah blah this is the main log message with possible newline characters&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;What stupid thing am I doing? &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 29 May 2021 03:55:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Using-ASCII-FS-GS-Control-Characters-as-Delimiters/m-p/553603#M91783</guid>
      <dc:creator>nboscia</dc:creator>
      <dc:date>2021-05-29T03:55:44Z</dc:date>
    </item>
    <item>
      <title>Re: Using ASCII FS/GS Control Characters as Delimiters</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Using-ASCII-FS-GS-Control-Characters-as-Delimiters/m-p/553634#M91789</link>
      <description>&lt;P&gt;The &lt;FONT face="courier new,courier"&gt;LINE_BREAKER&lt;/FONT&gt; setting must contain at least one capture group.&amp;nbsp; The &lt;FONT face="courier new,courier"&gt;FIELD_DELIMITER&lt;/FONT&gt; setting only applies when &lt;FONT face="courier new,courier"&gt;INDEXED_EXTRACTION&lt;/FONT&gt; is set.&amp;nbsp; &lt;FONT face="courier new,courier"&gt;BREAK_ONLY_BEFORE_DATE&lt;/FONT&gt; only applies when &lt;FONT face="courier new,courier"&gt;SHOULD_LINEMERGE&lt;/FONT&gt; is true.&amp;nbsp; Try these settings, which include an EXTRACT to pull out the fields at search time.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;DATETIME_CONFIG =
LINE_BREAKER = (\x1E+)
NO_BINARY_CHECK = true
SHOULD_LINEMERGE = false
description = Logs that contain the FS/RS characters
disabled = false
TIME_PREFIX = ^
TIME_FORMAT = %Y-m-%dT%H:%M:%S.%3N%z
MAX_TIMESTAMP_LOOKAHEAD = 23
EXTRACT-fields = \x1D(?&amp;lt;log_level&amp;gt;\w+)\s\x1D(?&amp;lt;service&amp;gt;\w+)\s\x1D(?&amp;lt;message&amp;gt;.*)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 29 May 2021 17:33:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Using-ASCII-FS-GS-Control-Characters-as-Delimiters/m-p/553634#M91789</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2021-05-29T17:33:17Z</dc:date>
    </item>
    <item>
      <title>Re: Using ASCII FS/GS Control Characters as Delimiters</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Using-ASCII-FS-GS-Control-Characters-as-Delimiters/m-p/553647#M91790</link>
      <description>&lt;P&gt;Oh my, I was REALLY off.&amp;nbsp; Thank you so very much!!&lt;/P&gt;</description>
      <pubDate>Sun, 30 May 2021 04:16:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Using-ASCII-FS-GS-Control-Characters-as-Delimiters/m-p/553647#M91790</guid>
      <dc:creator>nboscia</dc:creator>
      <dc:date>2021-05-30T04:16:45Z</dc:date>
    </item>
  </channel>
</rss>

