<?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: event with time  record in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/event-with-time-record/m-p/384661#M94952</link>
    <description>&lt;P&gt;@renjith.nair,&lt;BR /&gt;
OK but then how can I call my filtered out field?&lt;BR /&gt;
Because at the end I want to use it to calculate a difference with another sub-process execution time (already conatining only numbers)...&lt;/P&gt;</description>
    <pubDate>Thu, 11 Jul 2019 13:52:03 GMT</pubDate>
    <dc:creator>benji00</dc:creator>
    <dc:date>2019-07-11T13:52:03Z</dc:date>
    <item>
      <title>event with time  record</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/event-with-time-record/m-p/384659#M94950</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;

&lt;P&gt;I have a field containing an execution time looking like: 100s and which is corresponding to 100 seconds.&lt;BR /&gt;
The field is only in second, so my concern is only to remove the final S to have a field with only numbers, any idea about how to do?&lt;/P&gt;

&lt;P&gt;Regards,&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jul 2019 13:04:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/event-with-time-record/m-p/384659#M94950</guid>
      <dc:creator>benji00</dc:creator>
      <dc:date>2019-07-11T13:04:36Z</dc:date>
    </item>
    <item>
      <title>Re: event with time  record</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/event-with-time-record/m-p/384660#M94951</link>
      <description>&lt;P&gt;@benji00 ,&lt;/P&gt;

&lt;P&gt;Try&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;|rex field=execution_time "(?&amp;lt;sec&amp;gt;\d+)"
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;where &lt;CODE&gt;execution_time&lt;/CODE&gt; is your field name&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jul 2019 13:14:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/event-with-time-record/m-p/384660#M94951</guid>
      <dc:creator>renjith_nair</dc:creator>
      <dc:date>2019-07-11T13:14:53Z</dc:date>
    </item>
    <item>
      <title>Re: event with time  record</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/event-with-time-record/m-p/384661#M94952</link>
      <description>&lt;P&gt;@renjith.nair,&lt;BR /&gt;
OK but then how can I call my filtered out field?&lt;BR /&gt;
Because at the end I want to use it to calculate a difference with another sub-process execution time (already conatining only numbers)...&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jul 2019 13:52:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/event-with-time-record/m-p/384661#M94952</guid>
      <dc:creator>benji00</dc:creator>
      <dc:date>2019-07-11T13:52:03Z</dc:date>
    </item>
    <item>
      <title>Re: event with time  record</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/event-with-time-record/m-p/384662#M94953</link>
      <description>&lt;P&gt;@benji00 ,&lt;BR /&gt;
The seconds will be in the field &lt;CODE&gt;sec&lt;/CODE&gt; . You may use any other field name &lt;/P&gt;

&lt;P&gt;See this run anywhere example&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;|makeresults|eval execution_time="100s"|rex field=execution_time "(?&amp;lt;seconds&amp;gt;\d+)"|fields execution_time,seconds
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 11 Jul 2019 14:00:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/event-with-time-record/m-p/384662#M94953</guid>
      <dc:creator>renjith_nair</dc:creator>
      <dc:date>2019-07-11T14:00:54Z</dc:date>
    </item>
    <item>
      <title>Re: event with time  record</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/event-with-time-record/m-p/384663#M94954</link>
      <description>&lt;P&gt;Thanks... it is working as expected (y)&lt;/P&gt;</description>
      <pubDate>Fri, 12 Jul 2019 08:17:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/event-with-time-record/m-p/384663#M94954</guid>
      <dc:creator>benji00</dc:creator>
      <dc:date>2019-07-12T08:17:35Z</dc:date>
    </item>
  </channel>
</rss>

