<?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: Help) spl query in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Help-spl-query/m-p/533743#M150829</link>
    <description>&lt;P&gt;I have some files uploaded onto my splunk, but when I used spl like this (index=web sourcetype=access* status=200 product_name=* | table JSESSIONID,price,product_name), for example, I do not get any results.&lt;/P&gt;&lt;P&gt;What am I doing wrong?&amp;nbsp;&lt;/P&gt;&lt;P&gt;My email is barbozaprince@gmail.com&lt;/P&gt;</description>
    <pubDate>Mon, 21 Dec 2020 16:27:23 GMT</pubDate>
    <dc:creator>Pbarboza</dc:creator>
    <dc:date>2020-12-21T16:27:23Z</dc:date>
    <item>
      <title>Help) spl query</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Help-spl-query/m-p/532591#M150453</link>
      <description>&lt;P&gt;Hey guys. I'm a beginner of Splunk&amp;nbsp;&lt;BR /&gt;I have a one question.&amp;nbsp;&lt;BR /&gt;I&amp;nbsp; get a input value&lt;/P&gt;&lt;P&gt;but value has a space. so I want to remove it&lt;/P&gt;&lt;P&gt;here's my code&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;lt;input type="text"&amp;nbsp; token="field55"&amp;gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; // field55 is 'temp token'&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;lt;lable&amp;gt;test &amp;lt;/lable&amp;gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;lt;change&amp;gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;lt;eval token="field5"&amp;gt; trim($value$)&amp;lt;/eval&amp;gt; // field5 is 'real token'&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;lt;/change&amp;gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;lt;/input&amp;gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;.....&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;lt;query&amp;gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;index=mail&amp;nbsp; &amp;nbsp; mail_sender= "$field5$"&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;|&amp;nbsp; table mail_sender&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;lt;/query&amp;gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;if I input like 'test123&amp;nbsp; '&amp;nbsp; the result value is 'test123' (no spaces)&amp;nbsp;&lt;BR /&gt;how can I do that??&amp;nbsp;&lt;BR /&gt;So sorry hard to read&lt;BR /&gt;please help me out!!&lt;/P&gt;</description>
      <pubDate>Thu, 10 Dec 2020 07:57:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Help-spl-query/m-p/532591#M150453</guid>
      <dc:creator>tkdguq0110</dc:creator>
      <dc:date>2020-12-10T07:57:06Z</dc:date>
    </item>
    <item>
      <title>Re: Help) spl query</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Help-spl-query/m-p/532625#M150462</link>
      <description>&lt;P&gt;Isn't it possible to trim it in the search?&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;&amp;lt;form&amp;gt;
  &amp;lt;label&amp;gt;Text Space&amp;lt;/label&amp;gt;
  &amp;lt;fieldset submitButton="false"&amp;gt;
    &amp;lt;input type="text" token="input"&amp;gt;
      &amp;lt;label&amp;gt;Input&amp;lt;/label&amp;gt;
    &amp;lt;/input&amp;gt;
  &amp;lt;/fieldset&amp;gt;
  &amp;lt;row&amp;gt;
    &amp;lt;panel&amp;gt;
      &amp;lt;table&amp;gt;
        &amp;lt;search&amp;gt;
          &amp;lt;query&amp;gt;|makeresults|eval acutal_text="$input$"|eval actal_length=len("$input$")|eval trimmed_text=trim(acutal_text)|eval trimmed_length=len(trimmed_text)&amp;lt;/query&amp;gt;
          &amp;lt;earliest&amp;gt;-15m&amp;lt;/earliest&amp;gt;
          &amp;lt;latest&amp;gt;now&amp;lt;/latest&amp;gt;
        &amp;lt;/search&amp;gt;
        &amp;lt;option name="drilldown"&amp;gt;none&amp;lt;/option&amp;gt;
      &amp;lt;/table&amp;gt;
    &amp;lt;/panel&amp;gt;
  &amp;lt;/row&amp;gt;
&amp;lt;/form&amp;gt;&lt;/LI-CODE&gt;</description>
      <pubDate>Thu, 10 Dec 2020 12:10:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Help-spl-query/m-p/532625#M150462</guid>
      <dc:creator>renjith_nair</dc:creator>
      <dc:date>2020-12-10T12:10:02Z</dc:date>
    </item>
    <item>
      <title>Re: Help) spl query</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Help-spl-query/m-p/532647#M150471</link>
      <description>&lt;P data-unlink="true"&gt;&lt;SPAN class="UserName lia-user-name lia-user-rank-SplunkTrust lia-component-message-view-widget-author-username"&gt;&lt;SPAN&gt;Thank you for you answer&lt;STRONG&gt;.&amp;nbsp;&lt;SPAN class="login-bold"&gt;renjith_nair&lt;/SPAN&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="UserName lia-user-name lia-user-rank-SplunkTrust lia-component-message-view-widget-author-username"&gt;&lt;SPAN&gt;If I input &lt;STRONG&gt;index&amp;nbsp;&amp;nbsp;&lt;/STRONG&gt;field,&amp;nbsp; Is it possible to use both &lt;STRONG&gt;Index&lt;/STRONG&gt; and &lt;STRONG&gt;makeresults&lt;/STRONG&gt; ?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV class="lia-message-author-rank lia-component-author-rank lia-component-message-view-widget-author-rank"&gt;&amp;nbsp;&lt;/DIV&gt;</description>
      <pubDate>Thu, 10 Dec 2020 14:18:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Help-spl-query/m-p/532647#M150471</guid>
      <dc:creator>tkdguq0110</dc:creator>
      <dc:date>2020-12-10T14:18:59Z</dc:date>
    </item>
    <item>
      <title>Re: Help) spl query</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Help-spl-query/m-p/532726#M150504</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/183173"&gt;@tkdguq0110&lt;/a&gt;&amp;nbsp;, that's just a run anywhere example with dummy data. So you can replace makeresults with your original search&lt;/P&gt;</description>
      <pubDate>Thu, 10 Dec 2020 22:53:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Help-spl-query/m-p/532726#M150504</guid>
      <dc:creator>renjith_nair</dc:creator>
      <dc:date>2020-12-10T22:53:23Z</dc:date>
    </item>
    <item>
      <title>Re: Help) spl query</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Help-spl-query/m-p/533743#M150829</link>
      <description>&lt;P&gt;I have some files uploaded onto my splunk, but when I used spl like this (index=web sourcetype=access* status=200 product_name=* | table JSESSIONID,price,product_name), for example, I do not get any results.&lt;/P&gt;&lt;P&gt;What am I doing wrong?&amp;nbsp;&lt;/P&gt;&lt;P&gt;My email is barbozaprince@gmail.com&lt;/P&gt;</description>
      <pubDate>Mon, 21 Dec 2020 16:27:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Help-spl-query/m-p/533743#M150829</guid>
      <dc:creator>Pbarboza</dc:creator>
      <dc:date>2020-12-21T16:27:23Z</dc:date>
    </item>
  </channel>
</rss>

