<?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: How to remove part of my value to create a new value? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-remove-part-of-my-value-to-create-a-new-value/m-p/346158#M102539</link>
    <description>&lt;P&gt;@micahkemp 's answer is great, you could also try &lt;CODE&gt;|eval newCreatedTime =mvindex(split(created_time,"."),0)&lt;/CODE&gt; I only mention this in case you ever need to split a field that isn't numeric. &lt;A href="http://docs.splunk.com/Documentation/SplunkCloud/7.0.0/SearchReference/MultivalueEvalFunctions"&gt;http://docs.splunk.com/Documentation/SplunkCloud/7.0.0/SearchReference/MultivalueEvalFunctions&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 05 Feb 2018 16:56:35 GMT</pubDate>
    <dc:creator>cmerriman</dc:creator>
    <dc:date>2018-02-05T16:56:35Z</dc:date>
    <item>
      <title>How to remove part of my value to create a new value?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-remove-part-of-my-value-to-create-a-new-value/m-p/346156#M102537</link>
      <description>&lt;P&gt;Hi guys, &lt;/P&gt;

&lt;P&gt;My goal is to remove part of my value to create a new value. &lt;/P&gt;

&lt;P&gt;For example, I have a field called &lt;CODE&gt;created_time = 1517789420.357994&lt;/CODE&gt;. Does anyone know a way of getting &lt;CODE&gt;newCreatedTime = 1517789420&lt;/CODE&gt;?&lt;/P&gt;

&lt;P&gt;I basically just want the .* to go away! &lt;/P&gt;

&lt;P&gt;Any help would be appreciated. &lt;/P&gt;

&lt;P&gt;Cheers!&lt;/P&gt;</description>
      <pubDate>Mon, 05 Feb 2018 16:46:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-remove-part-of-my-value-to-create-a-new-value/m-p/346156#M102537</guid>
      <dc:creator>Robbie1194</dc:creator>
      <dc:date>2018-02-05T16:46:48Z</dc:date>
    </item>
    <item>
      <title>Re: How to remove part of my value to create a new value?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-remove-part-of-my-value-to-create-a-new-value/m-p/346157#M102538</link>
      <description>&lt;PRE&gt;&lt;CODE&gt;| eval newCreatedTime=floor(created_time)
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 05 Feb 2018 16:51:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-remove-part-of-my-value-to-create-a-new-value/m-p/346157#M102538</guid>
      <dc:creator>micahkemp</dc:creator>
      <dc:date>2018-02-05T16:51:09Z</dc:date>
    </item>
    <item>
      <title>Re: How to remove part of my value to create a new value?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-remove-part-of-my-value-to-create-a-new-value/m-p/346158#M102539</link>
      <description>&lt;P&gt;@micahkemp 's answer is great, you could also try &lt;CODE&gt;|eval newCreatedTime =mvindex(split(created_time,"."),0)&lt;/CODE&gt; I only mention this in case you ever need to split a field that isn't numeric. &lt;A href="http://docs.splunk.com/Documentation/SplunkCloud/7.0.0/SearchReference/MultivalueEvalFunctions"&gt;http://docs.splunk.com/Documentation/SplunkCloud/7.0.0/SearchReference/MultivalueEvalFunctions&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 05 Feb 2018 16:56:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-remove-part-of-my-value-to-create-a-new-value/m-p/346158#M102539</guid>
      <dc:creator>cmerriman</dc:creator>
      <dc:date>2018-02-05T16:56:35Z</dc:date>
    </item>
  </channel>
</rss>

