<?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 convert a single XML event into multiple events? in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-convert-a-single-XML-event-into-multiple-events/m-p/284968#M18001</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I have an XML file with multiple tags, I want to split it into multiple events. What are the configuration need to add in props.conf file&lt;/P&gt;

&lt;P&gt;Here is the example,&lt;/P&gt;

&lt;HR /&gt;

&lt;PRE&gt;&lt;CODE&gt;INFO 2015-01-08 10:16:49  
&amp;lt;V_XML Version="2.0" Direction="Response"&amp;gt;  
    &amp;lt;Enquiry &amp;gt;
    &amp;lt;Result /&amp;gt;    
    &amp;lt;3DSID&amp;gt;...&amp;lt;/3DSIDID&amp;gt;   
    &amp;lt;CHAID&amp;gt;...&amp;lt;/CHAID&amp;gt;   
    &amp;lt;CHADD&amp;gt;...&amp;lt;/CHADD&amp;gt;    
    &amp;lt;EC&amp;gt;...&amp;lt;/EC&amp;gt;
    &amp;lt;/Enquiry&amp;gt;
&amp;lt;/V_XML&amp;gt;
-------------------
INFO 2015-01-08 10:16:50 
&amp;lt;V_XML Version="2.0" &amp;gt;
     &amp;lt;Transaction &amp;gt;
        &amp;lt;CHAID&amp;gt;...&amp;lt;/CHAID&amp;gt;
        &amp;lt;CHADD&amp;gt;...&amp;lt;/CHADD&amp;gt;
        &amp;lt;Amt&amp;gt;...&amp;lt;/Amt&amp;gt;
        &amp;lt;Currency&amp;gt;...&amp;lt;/Currency&amp;gt;
        &amp;lt;EC&amp;gt;...&amp;lt;/EC&amp;gt;
        &amp;lt;ExpiryD&amp;gt;......&amp;lt;/ExpiryD&amp;gt;
        &amp;lt;MerchantRef&amp;gt;...&amp;lt;/MerchantRef&amp;gt;
        &amp;lt;CSCode&amp;gt;...&amp;lt;/CSCode&amp;gt;
        &amp;lt;PAN&amp;gt;...&amp;lt;/PAN&amp;gt;
      &amp;lt;/Transaction&amp;gt;
    &amp;lt;/V_XML&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Tue, 20 Oct 2015 18:58:37 GMT</pubDate>
    <dc:creator>lchandrakanth</dc:creator>
    <dc:date>2015-10-20T18:58:37Z</dc:date>
    <item>
      <title>How to convert a single XML event into multiple events?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-convert-a-single-XML-event-into-multiple-events/m-p/284968#M18001</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I have an XML file with multiple tags, I want to split it into multiple events. What are the configuration need to add in props.conf file&lt;/P&gt;

&lt;P&gt;Here is the example,&lt;/P&gt;

&lt;HR /&gt;

&lt;PRE&gt;&lt;CODE&gt;INFO 2015-01-08 10:16:49  
&amp;lt;V_XML Version="2.0" Direction="Response"&amp;gt;  
    &amp;lt;Enquiry &amp;gt;
    &amp;lt;Result /&amp;gt;    
    &amp;lt;3DSID&amp;gt;...&amp;lt;/3DSIDID&amp;gt;   
    &amp;lt;CHAID&amp;gt;...&amp;lt;/CHAID&amp;gt;   
    &amp;lt;CHADD&amp;gt;...&amp;lt;/CHADD&amp;gt;    
    &amp;lt;EC&amp;gt;...&amp;lt;/EC&amp;gt;
    &amp;lt;/Enquiry&amp;gt;
&amp;lt;/V_XML&amp;gt;
-------------------
INFO 2015-01-08 10:16:50 
&amp;lt;V_XML Version="2.0" &amp;gt;
     &amp;lt;Transaction &amp;gt;
        &amp;lt;CHAID&amp;gt;...&amp;lt;/CHAID&amp;gt;
        &amp;lt;CHADD&amp;gt;...&amp;lt;/CHADD&amp;gt;
        &amp;lt;Amt&amp;gt;...&amp;lt;/Amt&amp;gt;
        &amp;lt;Currency&amp;gt;...&amp;lt;/Currency&amp;gt;
        &amp;lt;EC&amp;gt;...&amp;lt;/EC&amp;gt;
        &amp;lt;ExpiryD&amp;gt;......&amp;lt;/ExpiryD&amp;gt;
        &amp;lt;MerchantRef&amp;gt;...&amp;lt;/MerchantRef&amp;gt;
        &amp;lt;CSCode&amp;gt;...&amp;lt;/CSCode&amp;gt;
        &amp;lt;PAN&amp;gt;...&amp;lt;/PAN&amp;gt;
      &amp;lt;/Transaction&amp;gt;
    &amp;lt;/V_XML&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 20 Oct 2015 18:58:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-convert-a-single-XML-event-into-multiple-events/m-p/284968#M18001</guid>
      <dc:creator>lchandrakanth</dc:creator>
      <dc:date>2015-10-20T18:58:37Z</dc:date>
    </item>
    <item>
      <title>Re: How to convert a single XML event into multiple events?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-convert-a-single-XML-event-into-multiple-events/m-p/284969#M18002</link>
      <description>&lt;P&gt;Try something like this for your props.conf (on Indexer/Heavy Forwarder)&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[YourSourceType]
SHOULD_LINEMERGE=false
LINE_BREAKER=([\r\n]+)\w+\s+\d{4}-\d{2}-\d{2}\s+\d{2}:\d{2:}\d{2}
TIME_FORMAT=%Y-%m-%d %H:%M:%S
TIME_PREFIX=^\w+\s+
MAX_TIMESTAMP_LOOKAHEAD=20
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 20 Oct 2015 19:46:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-convert-a-single-XML-event-into-multiple-events/m-p/284969#M18002</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2015-10-20T19:46:07Z</dc:date>
    </item>
    <item>
      <title>Re: How to convert a single XML event into multiple events?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-convert-a-single-XML-event-into-multiple-events/m-p/284970#M18003</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;Thanks for the info and could you explain the LINE_BREAKER regx format? it will be very helpful for my reference. &lt;/P&gt;</description>
      <pubDate>Tue, 20 Oct 2015 20:01:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-convert-a-single-XML-event-into-multiple-events/m-p/284970#M18003</guid>
      <dc:creator>lchandrakanth</dc:creator>
      <dc:date>2015-10-20T20:01:12Z</dc:date>
    </item>
    <item>
      <title>Re: How to convert a single XML event into multiple events?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-convert-a-single-XML-event-into-multiple-events/m-p/284971#M18004</link>
      <description>&lt;P&gt;Thanks soni... I am understand it, the line break based on time stamp.&lt;/P&gt;</description>
      <pubDate>Tue, 20 Oct 2015 20:08:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-convert-a-single-XML-event-into-multiple-events/m-p/284971#M18004</guid>
      <dc:creator>lchandrakanth</dc:creator>
      <dc:date>2015-10-20T20:08:44Z</dc:date>
    </item>
    <item>
      <title>Re: How to convert a single XML event into multiple events?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-convert-a-single-XML-event-into-multiple-events/m-p/284972#M18005</link>
      <description>&lt;P&gt;Basically on "INFO Timestamp" pattern.&lt;/P&gt;</description>
      <pubDate>Tue, 20 Oct 2015 20:09:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-convert-a-single-XML-event-into-multiple-events/m-p/284972#M18005</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2015-10-20T20:09:32Z</dc:date>
    </item>
    <item>
      <title>Re: How to convert a single XML event into multiple events?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-convert-a-single-XML-event-into-multiple-events/m-p/284973#M18006</link>
      <description>&lt;P&gt;Splunk documentation has good information on LINE_BREAKER. The topic &lt;A href="http://docs.splunk.com/Documentation/Splunk/6.3.0/Data/Configureeventlinebreaking"&gt;http://docs.splunk.com/Documentation/Splunk/6.3.0/Data/Configureeventlinebreaking&lt;/A&gt; is a good starting point. &lt;/P&gt;</description>
      <pubDate>Tue, 20 Oct 2015 20:10:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-convert-a-single-XML-event-into-multiple-events/m-p/284973#M18006</guid>
      <dc:creator>andrewb_splunk</dc:creator>
      <dc:date>2015-10-20T20:10:30Z</dc:date>
    </item>
  </channel>
</rss>

