<?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 len(-5d@d) in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/len-5d-d/m-p/490562#M194150</link>
    <description>&lt;P&gt;I am trying to solve a query and I came across a time modifier with len() function. I did not understand the behavior.&lt;/P&gt;</description>
    <pubDate>Thu, 23 Jan 2020 09:40:44 GMT</pubDate>
    <dc:creator>yasaswinipotta</dc:creator>
    <dc:date>2020-01-23T09:40:44Z</dc:date>
    <item>
      <title>len(-5d@d)</title>
      <link>https://community.splunk.com/t5/Splunk-Search/len-5d-d/m-p/490562#M194150</link>
      <description>&lt;P&gt;I am trying to solve a query and I came across a time modifier with len() function. I did not understand the behavior.&lt;/P&gt;</description>
      <pubDate>Thu, 23 Jan 2020 09:40:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/len-5d-d/m-p/490562#M194150</guid>
      <dc:creator>yasaswinipotta</dc:creator>
      <dc:date>2020-01-23T09:40:44Z</dc:date>
    </item>
    <item>
      <title>Re: len(-5d@d)</title>
      <link>https://community.splunk.com/t5/Splunk-Search/len-5d-d/m-p/490563#M194151</link>
      <description>&lt;P&gt;@yasaswinipotta &lt;/P&gt;

&lt;P&gt;Can you please share more information of your issue? How you are using &lt;CODE&gt;len()&lt;/CODE&gt; with time modifier and what is the purpose/requirement OR your sample search?    &lt;/P&gt;</description>
      <pubDate>Thu, 23 Jan 2020 13:07:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/len-5d-d/m-p/490563#M194151</guid>
      <dc:creator>kamlesh_vaghela</dc:creator>
      <dc:date>2020-01-23T13:07:04Z</dc:date>
    </item>
    <item>
      <title>Re: len(-5d@d)</title>
      <link>https://community.splunk.com/t5/Splunk-Search/len-5d-d/m-p/490564#M194152</link>
      <description>&lt;P&gt;I think the short answer is whatever you have come across is wrong.&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;|eval result=len(-5d@d)&lt;/CODE&gt; will not execute.&lt;BR /&gt;
However&lt;BR /&gt;
&lt;CODE&gt;|eval result=len("-5d@d")&lt;/CODE&gt;  will execute and return the value of 5 (as there are 5 characters in that string)&lt;/P&gt;

&lt;P&gt;Can you share a link to the material?&lt;/P&gt;</description>
      <pubDate>Thu, 23 Jan 2020 13:35:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/len-5d-d/m-p/490564#M194152</guid>
      <dc:creator>nickhills</dc:creator>
      <dc:date>2020-01-23T13:35:26Z</dc:date>
    </item>
  </channel>
</rss>

