<?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: Exclusion of Delimiter in special condition in All Apps and Add-ons</title>
    <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Exclusion-of-Delimiter-in-special-condition/m-p/102112#M7108</link>
    <description>&lt;P&gt;While I don't have a play system available to try this, wouldn't you be able to define field3 something like:&lt;/P&gt;

&lt;P&gt;(?&lt;F1&gt;\w{3}),(?&lt;F2&gt;\w{3}),(?&lt;F3&gt;\w{3}(,/\w{3}){0,1}),(?&lt;F4&gt;\w{3})&lt;/F4&gt;&lt;/F3&gt;&lt;/F2&gt;&lt;/F1&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 03 Jul 2014 18:39:59 GMT</pubDate>
    <dc:creator>cbs01</dc:creator>
    <dc:date>2014-07-03T18:39:59Z</dc:date>
    <item>
      <title>Exclusion of Delimiter in special condition</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Exclusion-of-Delimiter-in-special-condition/m-p/102111#M7107</link>
      <description>&lt;P&gt;I am using a search-time field extraction with transform being used.&lt;BR /&gt;
the events only contain values -no field names- and they are all separated by commas which makes me able to use DELIMS and FIELDS in transform.conf.&lt;BR /&gt;
My problem is though that for some special conditions I want splunk to skip the comma, like if there is a backslash after the comma, I want it to gather up all the previous and next characters as one field.&lt;/P&gt;

&lt;P&gt;for example, if the event is:&lt;/P&gt;

&lt;P&gt;AAA,BBB,CCC,/CCC,DDD&lt;/P&gt;

&lt;P&gt;splunk will create:&lt;/P&gt;

&lt;P&gt;field1 = AAA&lt;BR /&gt;
field2 = BBB&lt;BR /&gt;
field3 = CCC&lt;BR /&gt;
field4 = /CCC&lt;BR /&gt;
field5 = DDD&lt;/P&gt;

&lt;P&gt;but I want the fields to be:&lt;/P&gt;

&lt;P&gt;field1 = AAA&lt;BR /&gt;
field2 = BBB&lt;BR /&gt;
field3 = CCC,/CCC&lt;BR /&gt;
field4 = DDD&lt;/P&gt;

&lt;P&gt;how can I achieve that?&lt;/P&gt;</description>
      <pubDate>Wed, 02 Nov 2011 07:07:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Exclusion-of-Delimiter-in-special-condition/m-p/102111#M7107</guid>
      <dc:creator>nina15</dc:creator>
      <dc:date>2011-11-02T07:07:47Z</dc:date>
    </item>
    <item>
      <title>Re: Exclusion of Delimiter in special condition</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Exclusion-of-Delimiter-in-special-condition/m-p/102112#M7108</link>
      <description>&lt;P&gt;While I don't have a play system available to try this, wouldn't you be able to define field3 something like:&lt;/P&gt;

&lt;P&gt;(?&lt;F1&gt;\w{3}),(?&lt;F2&gt;\w{3}),(?&lt;F3&gt;\w{3}(,/\w{3}){0,1}),(?&lt;F4&gt;\w{3})&lt;/F4&gt;&lt;/F3&gt;&lt;/F2&gt;&lt;/F1&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 03 Jul 2014 18:39:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Exclusion-of-Delimiter-in-special-condition/m-p/102112#M7108</guid>
      <dc:creator>cbs01</dc:creator>
      <dc:date>2014-07-03T18:39:59Z</dc:date>
    </item>
  </channel>
</rss>

