<?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 xml search time extraction not working in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/xml-search-time-extraction-not-working/m-p/442465#M125597</link>
    <description>&lt;P&gt;Hi, I am trying to extract the field tags and values between the interceptor and \Interceptor tags but am not able to, a sample of the xml is below, &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;Interceptor&amp;gt;
&amp;lt;AttackCoords&amp;gt;-80.24185962413824,25.24598123976225&amp;lt;/AttackCoords&amp;gt;
&amp;lt;Outcome&amp;gt;Interdiction&amp;lt;/Outcome&amp;gt;
&amp;lt;Infiltrators&amp;gt;5&amp;lt;/Infiltrators&amp;gt;
&amp;lt;Enforcer&amp;gt;Baleineau&amp;lt;/Enforcer&amp;gt;
&amp;lt;ActionDate&amp;gt;2013-07-05&amp;lt;/ActionDate&amp;gt;
&amp;lt;ActionTime&amp;gt;06:15:00&amp;lt;/ActionTime&amp;gt;
&amp;lt;RecordNotes&amp;gt;
Infiltrators: Izar Carrillo, Bartolo Gracia, Xevera Lerma, Flaca Santiago, Xaviera Villalpando
&amp;lt;/RecordNotes&amp;gt;
&amp;lt;NumEscaped&amp;gt;0&amp;lt;/NumEscaped&amp;gt;
&amp;lt;LaunchCoords/&amp;gt;
&amp;lt;AttackVessel&amp;gt;Raft&amp;lt;/AttackVessel&amp;gt;
&amp;lt;/Interceptor&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;my props.conf and transforms.conf looks like the following &lt;/P&gt;

&lt;P&gt;[dreamcrusher]&lt;BR /&gt;
BREAK_ONLY_BEFORE = &lt;BR /&gt;
DATETIME_CONFIG =&lt;BR /&gt;
NO_BINARY_CHECK = true&lt;BR /&gt;
category = Custom&lt;BR /&gt;
pulldown_type = true&lt;BR /&gt;
PREAMBLE_REGEX = (&amp;lt;\?xml.*||&amp;lt;.*dataroot&amp;gt;)&lt;BR /&gt;
SEDCMD-dr = s/&amp;lt;\/dataroot&amp;gt;//g&lt;BR /&gt;
TIME_FORMAT = %Y-%m-%d%n%H:%M:%S&lt;BR /&gt;
TIME_PREFIX = &lt;BR /&gt;
MAX_DAYS_AGO = 5000&lt;BR /&gt;
REPORT-fieldvalues = field&lt;BR /&gt;
disabled = false&lt;BR /&gt;
LINE_BREAKER =&lt;BR /&gt;
TRUNCATE =&lt;/P&gt;

&lt;P&gt;[field]&lt;BR /&gt;
CLEAN_KEYS = 0&lt;BR /&gt;
REGEX = &amp;lt;(\w+)&amp;gt;([^&amp;lt;]+)&lt;BR /&gt;
FORMAT=$1::$2&lt;BR /&gt;
MV_ADD = true&lt;/P&gt;

&lt;P&gt;upon ingesting the event data, I can not see any search time fields being extracted and i am not sure where I am going wrong, gone through many similar posts and have tried a few things but no luck unfortunately, am i doing something incorrect with my props and transform conf files? please do enlighten me!&lt;/P&gt;

&lt;P&gt;Any help would be greatly appreciated! &lt;/P&gt;</description>
    <pubDate>Tue, 29 Sep 2020 22:26:50 GMT</pubDate>
    <dc:creator>ssjabid</dc:creator>
    <dc:date>2020-09-29T22:26:50Z</dc:date>
    <item>
      <title>xml search time extraction not working</title>
      <link>https://community.splunk.com/t5/Splunk-Search/xml-search-time-extraction-not-working/m-p/442465#M125597</link>
      <description>&lt;P&gt;Hi, I am trying to extract the field tags and values between the interceptor and \Interceptor tags but am not able to, a sample of the xml is below, &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;Interceptor&amp;gt;
&amp;lt;AttackCoords&amp;gt;-80.24185962413824,25.24598123976225&amp;lt;/AttackCoords&amp;gt;
&amp;lt;Outcome&amp;gt;Interdiction&amp;lt;/Outcome&amp;gt;
&amp;lt;Infiltrators&amp;gt;5&amp;lt;/Infiltrators&amp;gt;
&amp;lt;Enforcer&amp;gt;Baleineau&amp;lt;/Enforcer&amp;gt;
&amp;lt;ActionDate&amp;gt;2013-07-05&amp;lt;/ActionDate&amp;gt;
&amp;lt;ActionTime&amp;gt;06:15:00&amp;lt;/ActionTime&amp;gt;
&amp;lt;RecordNotes&amp;gt;
Infiltrators: Izar Carrillo, Bartolo Gracia, Xevera Lerma, Flaca Santiago, Xaviera Villalpando
&amp;lt;/RecordNotes&amp;gt;
&amp;lt;NumEscaped&amp;gt;0&amp;lt;/NumEscaped&amp;gt;
&amp;lt;LaunchCoords/&amp;gt;
&amp;lt;AttackVessel&amp;gt;Raft&amp;lt;/AttackVessel&amp;gt;
&amp;lt;/Interceptor&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;my props.conf and transforms.conf looks like the following &lt;/P&gt;

&lt;P&gt;[dreamcrusher]&lt;BR /&gt;
BREAK_ONLY_BEFORE = &lt;BR /&gt;
DATETIME_CONFIG =&lt;BR /&gt;
NO_BINARY_CHECK = true&lt;BR /&gt;
category = Custom&lt;BR /&gt;
pulldown_type = true&lt;BR /&gt;
PREAMBLE_REGEX = (&amp;lt;\?xml.*||&amp;lt;.*dataroot&amp;gt;)&lt;BR /&gt;
SEDCMD-dr = s/&amp;lt;\/dataroot&amp;gt;//g&lt;BR /&gt;
TIME_FORMAT = %Y-%m-%d%n%H:%M:%S&lt;BR /&gt;
TIME_PREFIX = &lt;BR /&gt;
MAX_DAYS_AGO = 5000&lt;BR /&gt;
REPORT-fieldvalues = field&lt;BR /&gt;
disabled = false&lt;BR /&gt;
LINE_BREAKER =&lt;BR /&gt;
TRUNCATE =&lt;/P&gt;

&lt;P&gt;[field]&lt;BR /&gt;
CLEAN_KEYS = 0&lt;BR /&gt;
REGEX = &amp;lt;(\w+)&amp;gt;([^&amp;lt;]+)&lt;BR /&gt;
FORMAT=$1::$2&lt;BR /&gt;
MV_ADD = true&lt;/P&gt;

&lt;P&gt;upon ingesting the event data, I can not see any search time fields being extracted and i am not sure where I am going wrong, gone through many similar posts and have tried a few things but no luck unfortunately, am i doing something incorrect with my props and transform conf files? please do enlighten me!&lt;/P&gt;

&lt;P&gt;Any help would be greatly appreciated! &lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 22:26:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/xml-search-time-extraction-not-working/m-p/442465#M125597</guid>
      <dc:creator>ssjabid</dc:creator>
      <dc:date>2020-09-29T22:26:50Z</dc:date>
    </item>
    <item>
      <title>Re: xml search time extraction not working</title>
      <link>https://community.splunk.com/t5/Splunk-Search/xml-search-time-extraction-not-working/m-p/442466#M125598</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;Are you using single instance or distributed environment? Where you are putting props and transforms?&lt;/P&gt;</description>
      <pubDate>Wed, 26 Dec 2018 05:15:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/xml-search-time-extraction-not-working/m-p/442466#M125598</guid>
      <dc:creator>p_gurav</dc:creator>
      <dc:date>2018-12-26T05:15:53Z</dc:date>
    </item>
  </channel>
</rss>

