<?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 How to break  events on Particular field  using Regex or any other process? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-break-events-on-Particular-field-using-Regex-or-any-other/m-p/272134#M81880</link>
    <description>&lt;P&gt;Hi All,&lt;/P&gt;

&lt;P&gt;Below is my event data:&lt;/P&gt;

&lt;P&gt;Issue 1:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;11/11/15 
1:26:01.000 PM  
Job Id, Class Id,"Id","Success","Created","Error","Id","Service_Team_Members_Initials__c"
950210000002JwhAAE,651270000007OwIAAU,"","false","false","FIELD_CUSTOM_VALIDATION_EXCEPTION:01:  The selected Contact Role is not valid for this type of Office. Valid option is RIA:Contact_Role_and_Registration__c --","006C000001NM6TpIAL","ABCD, JERW, XCVB, CGLC, JSWB, BCH, LAAM, TCWJ, DAFC, KJJH, SCAH, BIMR"
650240000003JwhAAE,451270000007OwIAAU,"","false","false","FIELD_CUSTOM_VALIDATION_EXCEPTION:01:  The selected Contact Role is not valid for this type of Office. Valid option is RIA:Contact_Role_and_Registration__c --","005C000001Se9x2IAB","EFGH, TWEW, SDFR, MCQ, JOLP, MPK, SCRC, LAAM, LAAM, JNAC, SCAH, JSDF, CDER, DAFC, KJJH, BCH"
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;1) I want to skip headers &lt;CODE&gt;jobid,classid,"ID","Success","Error","Id","Service_Team_Members_Initials__c"&lt;/CODE&gt; in the events.&lt;BR /&gt;
2) I need to know how to break the events on &lt;CODE&gt;Job Id&lt;/CODE&gt;, and after breaking all events, should have the same date and time by using regex or any other method to solve this.&lt;/P&gt;

&lt;P&gt;Issue 2:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;11/10/15 
5:48:13.000 AM  
1-0000642980,,,,,290641,Sent WMS,,Proposal Order,Error received from salesesssd.com.  Fields [Requested_Delivery_Date__c].  Status code [FIELD_CUSTOM_VALIDATION_EXCEPTION].  Message [Please select Requested Delivery Date].
1-0000642131,,,,,290480,Sent WMS,,Proposal Order,Error received from salesesssd.com.  Fields [Requested_Delivery_Date__c].  Status code [FIELD_CUSTOM_VALIDATION_EXCEPTION].  Message [Please select Requested Delivery Date].
1-0000642138,,,,,290485,Sent WMS,,Proposal Order,Error received from salesesssd.com.  Fields [Requested_Delivery_Date__c].  Status code [FIELD_CUSTOM_VALIDATION_EXCEPTION].  Message [Please select Requested Delivery Date].
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;1) I want to break these events on the newline character.&lt;/P&gt;

&lt;P&gt;Thanks in advance, and any method to make this work is fine.&lt;BR /&gt;
I used this for issue2: &lt;CODE&gt;LINE_BREAKER = ([\r\n]+)&lt;/CODE&gt; in props.conf&lt;/P&gt;

&lt;P&gt;Thanks in advance.&lt;/P&gt;</description>
    <pubDate>Tue, 15 Dec 2015 01:33:01 GMT</pubDate>
    <dc:creator>mprreddy51</dc:creator>
    <dc:date>2015-12-15T01:33:01Z</dc:date>
    <item>
      <title>How to break  events on Particular field  using Regex or any other process?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-break-events-on-Particular-field-using-Regex-or-any-other/m-p/272134#M81880</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;

&lt;P&gt;Below is my event data:&lt;/P&gt;

&lt;P&gt;Issue 1:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;11/11/15 
1:26:01.000 PM  
Job Id, Class Id,"Id","Success","Created","Error","Id","Service_Team_Members_Initials__c"
950210000002JwhAAE,651270000007OwIAAU,"","false","false","FIELD_CUSTOM_VALIDATION_EXCEPTION:01:  The selected Contact Role is not valid for this type of Office. Valid option is RIA:Contact_Role_and_Registration__c --","006C000001NM6TpIAL","ABCD, JERW, XCVB, CGLC, JSWB, BCH, LAAM, TCWJ, DAFC, KJJH, SCAH, BIMR"
650240000003JwhAAE,451270000007OwIAAU,"","false","false","FIELD_CUSTOM_VALIDATION_EXCEPTION:01:  The selected Contact Role is not valid for this type of Office. Valid option is RIA:Contact_Role_and_Registration__c --","005C000001Se9x2IAB","EFGH, TWEW, SDFR, MCQ, JOLP, MPK, SCRC, LAAM, LAAM, JNAC, SCAH, JSDF, CDER, DAFC, KJJH, BCH"
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;1) I want to skip headers &lt;CODE&gt;jobid,classid,"ID","Success","Error","Id","Service_Team_Members_Initials__c"&lt;/CODE&gt; in the events.&lt;BR /&gt;
2) I need to know how to break the events on &lt;CODE&gt;Job Id&lt;/CODE&gt;, and after breaking all events, should have the same date and time by using regex or any other method to solve this.&lt;/P&gt;

&lt;P&gt;Issue 2:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;11/10/15 
5:48:13.000 AM  
1-0000642980,,,,,290641,Sent WMS,,Proposal Order,Error received from salesesssd.com.  Fields [Requested_Delivery_Date__c].  Status code [FIELD_CUSTOM_VALIDATION_EXCEPTION].  Message [Please select Requested Delivery Date].
1-0000642131,,,,,290480,Sent WMS,,Proposal Order,Error received from salesesssd.com.  Fields [Requested_Delivery_Date__c].  Status code [FIELD_CUSTOM_VALIDATION_EXCEPTION].  Message [Please select Requested Delivery Date].
1-0000642138,,,,,290485,Sent WMS,,Proposal Order,Error received from salesesssd.com.  Fields [Requested_Delivery_Date__c].  Status code [FIELD_CUSTOM_VALIDATION_EXCEPTION].  Message [Please select Requested Delivery Date].
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;1) I want to break these events on the newline character.&lt;/P&gt;

&lt;P&gt;Thanks in advance, and any method to make this work is fine.&lt;BR /&gt;
I used this for issue2: &lt;CODE&gt;LINE_BREAKER = ([\r\n]+)&lt;/CODE&gt; in props.conf&lt;/P&gt;

&lt;P&gt;Thanks in advance.&lt;/P&gt;</description>
      <pubDate>Tue, 15 Dec 2015 01:33:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-break-events-on-Particular-field-using-Regex-or-any-other/m-p/272134#M81880</guid>
      <dc:creator>mprreddy51</dc:creator>
      <dc:date>2015-12-15T01:33:01Z</dc:date>
    </item>
    <item>
      <title>Re: How to break  events on Particular field  using Regex or any other process?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-break-events-on-Particular-field-using-Regex-or-any-other/m-p/272135#M81881</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;For issue 1 to erase the header&lt;BR /&gt;
in props.conf &lt;BR /&gt;
[YOURSOURCETYPE]&lt;BR /&gt;
TRANSFORMS-delete-header = eliminate-header&lt;/P&gt;

&lt;P&gt;in transforms.conf&lt;BR /&gt;
 [eliminate-header]&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;REGEX=^Job\s+Id
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;DEST_KEY=queue&lt;BR /&gt;
 FORMAT=nullQueue&lt;/P&gt;

&lt;P&gt;For issue 2&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;LINE_BREAKER = ([\r\n]+)\d\-\d+\,)&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;Hope help you&lt;/P&gt;</description>
      <pubDate>Tue, 15 Dec 2015 12:17:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-break-events-on-Particular-field-using-Regex-or-any-other/m-p/272135#M81881</guid>
      <dc:creator>jmallorquin</dc:creator>
      <dc:date>2015-12-15T12:17:33Z</dc:date>
    </item>
  </channel>
</rss>

