<?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: Time format XML Multiple lines in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/Time-format-XML-Multiple-lines/m-p/504844#M33432</link>
    <description>&lt;P&gt;Thank you!&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I finally used &lt;STRONG&gt;MAX_DAYS_AGO&amp;nbsp;&lt;/STRONG&gt;to make it work.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;BREAK_ONLY_BEFORE_DATE = 
DATETIME_CONFIG = 
LINE_BREAKER = &amp;lt;/Interceptor&amp;gt;([\r\n]+)
NO_BINARY_CHECK = true
SHOULD_LINEMERGE = false
category = 
disabled = false
pulldown_type = true
TIME_FORMAT = %Y-%m-%d&amp;lt;/ActionDate&amp;gt;%n&amp;lt;ActionTime&amp;gt;%H:%M:%S
TIME_PREFIX = &amp;lt;ActionDate&amp;gt;
MAX_DAYS_AGO = 3650&lt;/LI-CODE&gt;</description>
    <pubDate>Wed, 17 Jun 2020 17:40:11 GMT</pubDate>
    <dc:creator>rmanrique</dc:creator>
    <dc:date>2020-06-17T17:40:11Z</dc:date>
    <item>
      <title>Time format XML Multiple lines</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Time-format-XML-Multiple-lines/m-p/504829#M33425</link>
      <description>&lt;P&gt;I don't know what to specify in the time_format so that it captures the date (&amp;lt;&lt;STRONG&gt;ActionDate&lt;/STRONG&gt;&amp;gt;) and time (&amp;lt;&lt;STRONG&gt;ActionTime&lt;/STRONG&gt;&amp;gt;), whose data is &lt;U&gt;separated into separate lines&lt;/U&gt;.&lt;/P&gt;&lt;P&gt;XML file&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;&amp;lt;Interceptor&amp;gt;
		&amp;lt;AttackCoords&amp;gt;-80.33100097073213,25.10742916222947&amp;lt;/AttackCoords&amp;gt;
		&amp;lt;Outcome&amp;gt;Interdiction&amp;lt;/Outcome&amp;gt;
		&amp;lt;Infiltrators&amp;gt;23&amp;lt;/Infiltrators&amp;gt;
		&amp;lt;Enforcer&amp;gt;Ironwood&amp;lt;/Enforcer&amp;gt;
		&amp;lt;ActionDate&amp;gt;2013-04-24&amp;lt;/ActionDate&amp;gt;
		&amp;lt;ActionTime&amp;gt;00:07:00&amp;lt;/ActionTime&amp;gt;
		&amp;lt;RecordNotes&amp;gt;&amp;lt;/RecordNotes&amp;gt;
		&amp;lt;NumEscaped&amp;gt;0&amp;lt;/NumEscaped&amp;gt;
		&amp;lt;LaunchCoords&amp;gt;-80.23429525620114,24.08680387475695&amp;lt;/LaunchCoords&amp;gt;
		&amp;lt;AttackVessel&amp;gt;Rustic&amp;lt;/AttackVessel&amp;gt;
	&amp;lt;/Interceptor&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;This is the configuration that I have in my props.conf&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;BREAK_ONLY_BEFORE_DATE = 
DATETIME_CONFIG = 
LINE_BREAKER = &amp;lt;/Interceptor&amp;gt;([\r\n]+)
NO_BINARY_CHECK = true
SHOULD_LINEMERGE = false
category = 
disabled = false
pulldown_type = true
TIME_FORMAT = %Y-%m-%d %H:%M:%S
TIME_PREFIX = &amp;lt;ActionDate&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;The TIME_FORMAT part is what I have to correct. I tried to put this in, but it didn't work.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;TIME_FORMAT= %Y-%m-%d&amp;lt;/ActionDate&amp;gt;%n&amp;lt;ActionTime&amp;gt;%H:%M:%S&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;Any ideas&lt;/P&gt;</description>
      <pubDate>Wed, 17 Jun 2020 16:21:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Time-format-XML-Multiple-lines/m-p/504829#M33425</guid>
      <dc:creator>rmanrique</dc:creator>
      <dc:date>2020-06-17T16:21:32Z</dc:date>
    </item>
    <item>
      <title>Re: Time format XML Multiple lines</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Time-format-XML-Multiple-lines/m-p/504833#M33426</link>
      <description>&lt;P&gt;Based on a previous answer: &lt;A href="https://community.splunk.com/t5/Getting-Data-In/How-to-set-date-time-stamps-across-two-lines-in-xml-where-time/td-p/256531" target="_blank"&gt;https://community.splunk.com/t5/Getting-Data-In/How-to-set-date-time-stamps-across-two-lines-in-xml-where-time/td-p/256531&lt;/A&gt; it appears as if you can ignore the line break so it would be something like this:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;TIME_FORMAT= %Y-%m-%d&amp;lt;/ActionDate&amp;gt;&amp;lt;ActionTime&amp;gt;%H:%M:%S&lt;/LI-CODE&gt;</description>
      <pubDate>Wed, 17 Jun 2020 16:48:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Time-format-XML-Multiple-lines/m-p/504833#M33426</guid>
      <dc:creator>dmarling</dc:creator>
      <dc:date>2020-06-17T16:48:54Z</dc:date>
    </item>
    <item>
      <title>Re: Time format XML Multiple lines</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Time-format-XML-Multiple-lines/m-p/504836#M33427</link>
      <description>&lt;P&gt;I got this error message.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="error splunk.png" style="width: 875px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/9220iDEC76C58ED3D8884/image-size/large?v=v2&amp;amp;px=999" role="button" title="error splunk.png" alt="error splunk.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Is the &lt;STRONG&gt;time_prefix&lt;/STRONG&gt; I used okay?&lt;/P&gt;</description>
      <pubDate>Wed, 17 Jun 2020 17:07:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Time-format-XML-Multiple-lines/m-p/504836#M33427</guid>
      <dc:creator>rmanrique</dc:creator>
      <dc:date>2020-06-17T17:07:02Z</dc:date>
    </item>
    <item>
      <title>Re: Time format XML Multiple lines</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Time-format-XML-Multiple-lines/m-p/504839#M33429</link>
      <description>&lt;P&gt;I played with your example and adjusted the date of it so I wouldn't have to mess with max lookbehind:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;	&amp;lt;Interceptor&amp;gt;
		&amp;lt;AttackCoords&amp;gt;-80.33100097073213,25.10742916222947&amp;lt;/AttackCoords&amp;gt;
		&amp;lt;Outcome&amp;gt;Interdiction&amp;lt;/Outcome&amp;gt;
		&amp;lt;Infiltrators&amp;gt;23&amp;lt;/Infiltrators&amp;gt;
		&amp;lt;Enforcer&amp;gt;Ironwood&amp;lt;/Enforcer&amp;gt;
		&amp;lt;ActionDate&amp;gt;2020-05-24&amp;lt;/ActionDate&amp;gt;
		&amp;lt;ActionTime&amp;gt;00:07:00&amp;lt;/ActionTime&amp;gt;
		&amp;lt;RecordNotes&amp;gt;&amp;lt;/RecordNotes&amp;gt;
		&amp;lt;NumEscaped&amp;gt;0&amp;lt;/NumEscaped&amp;gt;
		&amp;lt;LaunchCoords&amp;gt;-80.23429525620114,24.08680387475695&amp;lt;/LaunchCoords&amp;gt;
		&amp;lt;AttackVessel&amp;gt;Rustic&amp;lt;/AttackVessel&amp;gt;
	&amp;lt;/Interceptor&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;I got the date/time to pull correctly with the below parameters:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;TIME_PREFIX = &amp;lt;ActionDate&amp;gt;
TIME_FORMAT = %Y-%m-%d&amp;lt;/ActionDate&amp;gt;%n		&amp;lt;ActionTime&amp;gt;%H:%M:%S&lt;/LI-CODE&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="crossline datetime.png" style="width: 999px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/9221i329AA4A1E953DBC1/image-size/large?v=v2&amp;amp;px=999" role="button" title="crossline datetime.png" alt="crossline datetime.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 17 Jun 2020 17:14:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Time-format-XML-Multiple-lines/m-p/504839#M33429</guid>
      <dc:creator>dmarling</dc:creator>
      <dc:date>2020-06-17T17:14:19Z</dc:date>
    </item>
    <item>
      <title>Re: Time format XML Multiple lines</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Time-format-XML-Multiple-lines/m-p/504841#M33430</link>
      <description>&lt;P&gt;If you do have data from 2013 you can add MAX_DAYS_AGO to make it work:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="crossline datetime maxdays.png" style="width: 999px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/9222i4F7E974B78913614/image-size/large?v=v2&amp;amp;px=999" role="button" title="crossline datetime maxdays.png" alt="crossline datetime maxdays.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 17 Jun 2020 17:18:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Time-format-XML-Multiple-lines/m-p/504841#M33430</guid>
      <dc:creator>dmarling</dc:creator>
      <dc:date>2020-06-17T17:18:37Z</dc:date>
    </item>
    <item>
      <title>Re: Time format XML Multiple lines</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Time-format-XML-Multiple-lines/m-p/504844#M33432</link>
      <description>&lt;P&gt;Thank you!&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I finally used &lt;STRONG&gt;MAX_DAYS_AGO&amp;nbsp;&lt;/STRONG&gt;to make it work.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;BREAK_ONLY_BEFORE_DATE = 
DATETIME_CONFIG = 
LINE_BREAKER = &amp;lt;/Interceptor&amp;gt;([\r\n]+)
NO_BINARY_CHECK = true
SHOULD_LINEMERGE = false
category = 
disabled = false
pulldown_type = true
TIME_FORMAT = %Y-%m-%d&amp;lt;/ActionDate&amp;gt;%n&amp;lt;ActionTime&amp;gt;%H:%M:%S
TIME_PREFIX = &amp;lt;ActionDate&amp;gt;
MAX_DAYS_AGO = 3650&lt;/LI-CODE&gt;</description>
      <pubDate>Wed, 17 Jun 2020 17:40:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Time-format-XML-Multiple-lines/m-p/504844#M33432</guid>
      <dc:creator>rmanrique</dc:creator>
      <dc:date>2020-06-17T17:40:11Z</dc:date>
    </item>
  </channel>
</rss>

