<?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 on rangemap command with loadjob in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/help-on-rangemap-command-with-loadjob/m-p/393364#M172912</link>
    <description>&lt;P&gt;Nothing...&lt;/P&gt;</description>
    <pubDate>Fri, 22 Feb 2019 17:26:53 GMT</pubDate>
    <dc:creator>jip31</dc:creator>
    <dc:date>2019-02-22T17:26:53Z</dc:date>
    <item>
      <title>help on rangemap command with loadjob</title>
      <link>https://community.splunk.com/t5/Splunk-Search/help-on-rangemap-command-with-loadjob/m-p/393358#M172906</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;

&lt;P&gt;I use the search below in order to display GOOD or BAD in a panel&lt;BR /&gt;
When I execute the query i have a result &lt;BR /&gt;
But I call this search from a loadjob command and I have never results&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;eventtype=Charge AND (NOT host=E* AND NOT
 host=I*)
| stats first(FullChargedCapacity) AS FullChargedCapacity first(DesignedCapacity) AS DesignedCapacity first(_time) AS _time 
| eval Wear_Rate = 100-(FullChargedCapacity *100/DesignedCapacity) 
| eval Status=if(Wear_Rate&amp;gt;5, "GOOD", "BAD") 
| table Status


| loadjob savedsearch="admin:XX:FO_BatteryHealth_Status" 
| table Status 
| eval severity=case(Status="GOOD", 0, Status="BAD", 1, true(), 999) 
| rangemap field=severity low=0-0 severe=1-1 default=guarded
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Could you help me please???&lt;/P&gt;</description>
      <pubDate>Thu, 21 Feb 2019 08:04:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/help-on-rangemap-command-with-loadjob/m-p/393358#M172906</guid>
      <dc:creator>jip31</dc:creator>
      <dc:date>2019-02-21T08:04:36Z</dc:date>
    </item>
    <item>
      <title>Re: help on rangemap command with loadjob</title>
      <link>https://community.splunk.com/t5/Splunk-Search/help-on-rangemap-command-with-loadjob/m-p/393359#M172907</link>
      <description>&lt;P&gt;Try using this &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| savedsearch "admin:XX:FO_BatteryHealth_Status" 
     | table Status 
     | eval severity=case(Status="GOOD", 0, Status="BAD", 1, true(), 999) 
     | rangemap field=severity low=0-0 severe=1-1 default=guarded
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 21 Feb 2019 09:22:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/help-on-rangemap-command-with-loadjob/m-p/393359#M172907</guid>
      <dc:creator>ashajambagi</dc:creator>
      <dc:date>2019-02-21T09:22:56Z</dc:date>
    </item>
    <item>
      <title>Re: help on rangemap command with loadjob</title>
      <link>https://community.splunk.com/t5/Splunk-Search/help-on-rangemap-command-with-loadjob/m-p/393360#M172908</link>
      <description>&lt;P&gt;no it doesnt works....&lt;/P&gt;</description>
      <pubDate>Thu, 21 Feb 2019 13:19:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/help-on-rangemap-command-with-loadjob/m-p/393360#M172908</guid>
      <dc:creator>jip31</dc:creator>
      <dc:date>2019-02-21T13:19:26Z</dc:date>
    </item>
    <item>
      <title>Re: help on rangemap command with loadjob</title>
      <link>https://community.splunk.com/t5/Splunk-Search/help-on-rangemap-command-with-loadjob/m-p/393361#M172909</link>
      <description>&lt;P&gt;Can you tell the error you are getting when you run the search?&lt;/P&gt;</description>
      <pubDate>Fri, 22 Feb 2019 05:05:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/help-on-rangemap-command-with-loadjob/m-p/393361#M172909</guid>
      <dc:creator>ashajambagi</dc:creator>
      <dc:date>2019-02-22T05:05:50Z</dc:date>
    </item>
    <item>
      <title>Re: help on rangemap command with loadjob</title>
      <link>https://community.splunk.com/t5/Splunk-Search/help-on-rangemap-command-with-loadjob/m-p/393362#M172910</link>
      <description>&lt;PRE&gt;&lt;CODE&gt; | savedsearch "FO_BatteryHealth_Status" 
      | table Status 
      | eval severity=case(Status="GOOD", 0, Status="BAD", 1, true(), 999) 
      | rangemap field=severity low=0-0 severe=1-1 default=guarded
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Try this&lt;/P&gt;</description>
      <pubDate>Fri, 22 Feb 2019 05:08:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/help-on-rangemap-command-with-loadjob/m-p/393362#M172910</guid>
      <dc:creator>ashajambagi</dc:creator>
      <dc:date>2019-02-22T05:08:25Z</dc:date>
    </item>
    <item>
      <title>Re: help on rangemap command with loadjob</title>
      <link>https://community.splunk.com/t5/Splunk-Search/help-on-rangemap-command-with-loadjob/m-p/393363#M172911</link>
      <description>&lt;P&gt;I have no errors its just empty&lt;/P&gt;</description>
      <pubDate>Fri, 22 Feb 2019 17:25:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/help-on-rangemap-command-with-loadjob/m-p/393363#M172911</guid>
      <dc:creator>jip31</dc:creator>
      <dc:date>2019-02-22T17:25:55Z</dc:date>
    </item>
    <item>
      <title>Re: help on rangemap command with loadjob</title>
      <link>https://community.splunk.com/t5/Splunk-Search/help-on-rangemap-command-with-loadjob/m-p/393364#M172912</link>
      <description>&lt;P&gt;Nothing...&lt;/P&gt;</description>
      <pubDate>Fri, 22 Feb 2019 17:26:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/help-on-rangemap-command-with-loadjob/m-p/393364#M172912</guid>
      <dc:creator>jip31</dc:creator>
      <dc:date>2019-02-22T17:26:53Z</dc:date>
    </item>
    <item>
      <title>Re: help on rangemap command with loadjob</title>
      <link>https://community.splunk.com/t5/Splunk-Search/help-on-rangemap-command-with-loadjob/m-p/393365#M172913</link>
      <description>&lt;P&gt;Try running the query line by line,let me know when you are not able to see the results.&lt;BR /&gt;
/or share a sample event&lt;/P&gt;</description>
      <pubDate>Sat, 23 Feb 2019 17:48:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/help-on-rangemap-command-with-loadjob/m-p/393365#M172913</guid>
      <dc:creator>ashajambagi</dc:creator>
      <dc:date>2019-02-23T17:48:39Z</dc:date>
    </item>
    <item>
      <title>Re: help on rangemap command with loadjob</title>
      <link>https://community.splunk.com/t5/Splunk-Search/help-on-rangemap-command-with-loadjob/m-p/393366#M172914</link>
      <description>&lt;P&gt;Hey dyude &lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/102660"&gt;@jip31&lt;/a&gt; ,&lt;/P&gt;

&lt;P&gt;If you are running this search &lt;CODE&gt;| loadjob savedsearch="admin:XX:FO_BatteryHealth_Status"&lt;/CODE&gt; .. please check the app OR report name, might be a spelling issue &lt;/P&gt;

&lt;P&gt;if its coming in a normal search, then it should come with loadjob also ..may be you are missing out something&lt;/P&gt;

&lt;P&gt;OR &lt;/P&gt;

&lt;P&gt;Ders another way you can run a &lt;CODE&gt;savedsearch&lt;/CODE&gt; with &lt;CODE&gt;loadjob&lt;/CODE&gt; command, ie with the &lt;CODE&gt;search_id&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;Just open the report name in search and then  &lt;CODE&gt;inspect job&lt;/CODE&gt; ... in the job inspector  URL you will find &lt;CODE&gt;sid=blahblah&lt;/CODE&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;|loadjob blahblah
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;You can refer this doc &lt;/P&gt;

&lt;P&gt;&lt;A href="https://docs.splunk.com/Documentation/Splunk/7.2.4/SearchReference/Loadjob" target="_blank"&gt;https://docs.splunk.com/Documentation/Splunk/7.2.4/SearchReference/Loadjob&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Let me know if this works! &lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 23:20:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/help-on-rangemap-command-with-loadjob/m-p/393366#M172914</guid>
      <dc:creator>vinod94</dc:creator>
      <dc:date>2020-09-29T23:20:37Z</dc:date>
    </item>
  </channel>
</rss>

