<?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 Field Extraction with Inconsistent Missing Values Fields in Each of the Events in Installation</title>
    <link>https://community.splunk.com/t5/Installation/Field-Extraction-with-Inconsistent-Missing-Values-Fields-in-Each/m-p/571056#M10752</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I am some issues in writing field extraction expression for following events (3 sample events are given below).&lt;/P&gt;&lt;P&gt;Each of the events has&amp;nbsp; comma Separated 14 field values. Most of the cases event doesnot have all field values (i.e., no values between 2 commas)&amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;P&gt;I was trying with this expression&amp;nbsp;&amp;nbsp;&lt;STRONG&gt;^(?P&amp;lt;Field1&amp;gt;\w+),(?P&amp;lt;Field2&amp;gt;\w+),(?P&amp;lt;Field3&amp;gt;\w+),(?P&amp;lt;Field4&amp;gt;\w+),&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;But it stuck at Field4 as it doesn't have any values (i.e., no values between 2 commas for Field4) in event&amp;nbsp; 1. Same thing is happening for other events where there is now value between 2 commas. How would I write my field extraction expression (or (REGEX)&amp;nbsp; ) to extract&amp;nbsp; 14 fields from each of the events considering some fields may not have values (i.e., no values between 2 commas). Any help will be highly appreciated. Thank you so much, appreciate your support in this efforts.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;23SRFBB,HESR2,000000000,,TRY5gNbkVnedIIRbrk0A3wWOtE4L,12.218.76.129,2021-10-13 06:39:48 MDT,ISDMCISA,LOGOFF,USER,,,,&lt;/P&gt;&lt;P&gt;34SWFBB,RESG3,000000000,10AB,TFG3nNbkVnedIIDFbrk0A3wWOtE4L,,2021-10-13 06:39:48 MDT,ISDMCISA,LOGOFF,USER,,,,&lt;/P&gt;&lt;P&gt;45SRFBB,SES3X,000000000,,FDTt3nNbkVnedIIBSbrk0A3wWOtE4L,12.218.76.129,2021-10-13 06:39:48 MDT,ISDMCISA,LOGOFF,USER,,,1wqa,XY355&lt;/P&gt;</description>
    <pubDate>Fri, 15 Oct 2021 00:41:00 GMT</pubDate>
    <dc:creator>SplunkDash</dc:creator>
    <dc:date>2021-10-15T00:41:00Z</dc:date>
    <item>
      <title>Field Extraction with Inconsistent Missing Values Fields in Each of the Events</title>
      <link>https://community.splunk.com/t5/Installation/Field-Extraction-with-Inconsistent-Missing-Values-Fields-in-Each/m-p/571056#M10752</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I am some issues in writing field extraction expression for following events (3 sample events are given below).&lt;/P&gt;&lt;P&gt;Each of the events has&amp;nbsp; comma Separated 14 field values. Most of the cases event doesnot have all field values (i.e., no values between 2 commas)&amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;P&gt;I was trying with this expression&amp;nbsp;&amp;nbsp;&lt;STRONG&gt;^(?P&amp;lt;Field1&amp;gt;\w+),(?P&amp;lt;Field2&amp;gt;\w+),(?P&amp;lt;Field3&amp;gt;\w+),(?P&amp;lt;Field4&amp;gt;\w+),&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;But it stuck at Field4 as it doesn't have any values (i.e., no values between 2 commas for Field4) in event&amp;nbsp; 1. Same thing is happening for other events where there is now value between 2 commas. How would I write my field extraction expression (or (REGEX)&amp;nbsp; ) to extract&amp;nbsp; 14 fields from each of the events considering some fields may not have values (i.e., no values between 2 commas). Any help will be highly appreciated. Thank you so much, appreciate your support in this efforts.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;23SRFBB,HESR2,000000000,,TRY5gNbkVnedIIRbrk0A3wWOtE4L,12.218.76.129,2021-10-13 06:39:48 MDT,ISDMCISA,LOGOFF,USER,,,,&lt;/P&gt;&lt;P&gt;34SWFBB,RESG3,000000000,10AB,TFG3nNbkVnedIIDFbrk0A3wWOtE4L,,2021-10-13 06:39:48 MDT,ISDMCISA,LOGOFF,USER,,,,&lt;/P&gt;&lt;P&gt;45SRFBB,SES3X,000000000,,FDTt3nNbkVnedIIBSbrk0A3wWOtE4L,12.218.76.129,2021-10-13 06:39:48 MDT,ISDMCISA,LOGOFF,USER,,,1wqa,XY355&lt;/P&gt;</description>
      <pubDate>Fri, 15 Oct 2021 00:41:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Installation/Field-Extraction-with-Inconsistent-Missing-Values-Fields-in-Each/m-p/571056#M10752</guid>
      <dc:creator>SplunkDash</dc:creator>
      <dc:date>2021-10-15T00:41:00Z</dc:date>
    </item>
    <item>
      <title>Re: Field Extraction with Inconsistent Missing Values Fields in Each of the Events</title>
      <link>https://community.splunk.com/t5/Installation/Field-Extraction-with-Inconsistent-Missing-Values-Fields-in-Each/m-p/571061#M10753</link>
      <description>&lt;P&gt;Change the + (1 or more) to * (0 or more) for any (or all) fields which might be empty&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;^(?P&amp;lt;Field1&amp;gt;\w+),(?P&amp;lt;Field2&amp;gt;\w+),(?P&amp;lt;Field3&amp;gt;\w+),(?P&amp;lt;Field4&amp;gt;\w*),&lt;/LI-CODE&gt;</description>
      <pubDate>Fri, 15 Oct 2021 04:06:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Installation/Field-Extraction-with-Inconsistent-Missing-Values-Fields-in-Each/m-p/571061#M10753</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2021-10-15T04:06:05Z</dc:date>
    </item>
  </channel>
</rss>

