<?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 How to run two searches having two different indexes using join command at different time range in Splunk Cloud Platform</title>
    <link>https://community.splunk.com/t5/Splunk-Cloud-Platform/How-to-run-two-searches-having-two-different-indexes-using-join/m-p/680360#M2891</link>
    <description>&lt;P&gt;Hi ,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have two searches joined using join command. The first search i need to run earliest=-60mins and the second search is using summary index here i need to fetch all the results in summary index so I need to check and run summary index for "all time" .&lt;BR /&gt;&lt;BR /&gt;How can this be done? I am giving earliest=-60min in my first search and time range as "all time" while scheduling the report consisting of this two searches but it is not working.&lt;/P&gt;&lt;P&gt;I have not used any time in my summary index. Search to populate my summary index&lt;/P&gt;&lt;P&gt;index=testapp sourcetype=test_appresourceowners earliest=-24h latest=now&lt;BR /&gt;| table sys_id, dv_manager, dv_syncenabled, dv_resource, dv_recordactive&lt;BR /&gt;| collect &lt;STRONG&gt;addtime=false&lt;/STRONG&gt; index=summaryindex source=testapp.&lt;BR /&gt;&lt;BR /&gt;my scheduled report search&amp;nbsp;&lt;/P&gt;&lt;P&gt;index=index1 &lt;STRONG&gt;earlies=-60m&lt;/STRONG&gt;&lt;BR /&gt;| join host&lt;BR /&gt;[| search index=summaryindex &lt;STRONG&gt;earliest="alltime&lt;/STRONG&gt;"]&lt;BR /&gt;&lt;BR /&gt;| tablehost field1 field2&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 12 Mar 2024 08:05:43 GMT</pubDate>
    <dc:creator>Splunkerninja</dc:creator>
    <dc:date>2024-03-12T08:05:43Z</dc:date>
    <item>
      <title>How to run two searches having two different indexes using join command at different time range</title>
      <link>https://community.splunk.com/t5/Splunk-Cloud-Platform/How-to-run-two-searches-having-two-different-indexes-using-join/m-p/680360#M2891</link>
      <description>&lt;P&gt;Hi ,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have two searches joined using join command. The first search i need to run earliest=-60mins and the second search is using summary index here i need to fetch all the results in summary index so I need to check and run summary index for "all time" .&lt;BR /&gt;&lt;BR /&gt;How can this be done? I am giving earliest=-60min in my first search and time range as "all time" while scheduling the report consisting of this two searches but it is not working.&lt;/P&gt;&lt;P&gt;I have not used any time in my summary index. Search to populate my summary index&lt;/P&gt;&lt;P&gt;index=testapp sourcetype=test_appresourceowners earliest=-24h latest=now&lt;BR /&gt;| table sys_id, dv_manager, dv_syncenabled, dv_resource, dv_recordactive&lt;BR /&gt;| collect &lt;STRONG&gt;addtime=false&lt;/STRONG&gt; index=summaryindex source=testapp.&lt;BR /&gt;&lt;BR /&gt;my scheduled report search&amp;nbsp;&lt;/P&gt;&lt;P&gt;index=index1 &lt;STRONG&gt;earlies=-60m&lt;/STRONG&gt;&lt;BR /&gt;| join host&lt;BR /&gt;[| search index=summaryindex &lt;STRONG&gt;earliest="alltime&lt;/STRONG&gt;"]&lt;BR /&gt;&lt;BR /&gt;| tablehost field1 field2&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Mar 2024 08:05:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Cloud-Platform/How-to-run-two-searches-having-two-different-indexes-using-join/m-p/680360#M2891</guid>
      <dc:creator>Splunkerninja</dc:creator>
      <dc:date>2024-03-12T08:05:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to run two searches having two different indexes using join command at different time range</title>
      <link>https://community.splunk.com/t5/Splunk-Cloud-Platform/How-to-run-two-searches-having-two-different-indexes-using-join/m-p/680367#M2893</link>
      <description>&lt;P&gt;Try&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;earliest=0&lt;/LI-CODE&gt;</description>
      <pubDate>Tue, 12 Mar 2024 08:46:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Cloud-Platform/How-to-run-two-searches-having-two-different-indexes-using-join/m-p/680367#M2893</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2024-03-12T08:46:24Z</dc:date>
    </item>
  </channel>
</rss>

