<?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: Search without join for multiple index in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Search-without-join-for-multiple-index/m-p/472983#M133138</link>
    <description>&lt;P&gt;Hi vikashperiwal,,&lt;BR /&gt;
at first which Mode are you using? try with Verbose.&lt;/P&gt;

&lt;P&gt;If you simplify your search in this way you still haven't fields?&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;(index=abc sourcetype=ISUP_EVENT_ACCESS_VW earliest=-8h@h latest=-4h@h) OR (index=csvlookups source="*SWITCH*") 
| eval N=coalesce(N,OPC), O=coalesce(O,DPC), K=coalesce(K,CIC) 
| search N=* O=* K=* 
| eventstats values(OPC) as OPC values(DPC) as DPC values(CLLI) as CLLI values(ADMININF) as ADMININF values(ADNUM) as ADNUM values(TRKGRSIZ) as TRKGRSIZ values(NETNAME) as NETNAME values(SWITCH) as SWITCH values(MEMNAME) as MEMNAME values(RTESET) as RTESET values(CIC) as CIC by N O K 
| eval Call="Outbound" 
| table A B C D E F G H I J L M P Q R S T U V W X Y Z A1 A2 A3 A4 A5 N OPC O DPC K CIC CLLI ADMININF ADNUM TRKGRSIZ NETNAME SWITCH MEMNAME RTESET Call 
 | search OPC=* DPC=* 
 | rename K as "TCIC" N as "Originating_Point_Code" O as "Destination_Point_Code"
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Ciao.&lt;BR /&gt;
Giuseppe&lt;/P&gt;</description>
    <pubDate>Fri, 01 Nov 2019 09:24:25 GMT</pubDate>
    <dc:creator>gcusello</dc:creator>
    <dc:date>2019-11-01T09:24:25Z</dc:date>
    <item>
      <title>Search without join for multiple index</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Search-without-join-for-multiple-index/m-p/472979#M133134</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I have a requirement where I have 2 Index, I want to display the raw data, Below is the query I tried but I am not able to show complete data.&lt;/P&gt;

&lt;P&gt;Fields A B C D E F G H I J L M P Q R S T U V W X Y Z A1 A2 A3 A4 A5 are not seen in a table from index= abc, guide me if there is some wrong with my approach&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;( index=abc sourcetype=ISUP_EVENT_ACCESS_VW earliest=-8h@h latest=-4h@h ) OR (index=csvlookups source="*SWITCH*") 
| fields - _raw 
| eval N=coalesce(N,OPC) 
| eval O=coalesce(O,DPC) 
| eval K=coalesce(K,CIC) 
| search N=* AND O=* AND K=* 
| eventstats values(OPC) as OPC values(DPC) as DPC values(CLLI) as CLLI values(ADMININF) as ADMININF values(ADNUM) as ADNUM values(TRKGRSIZ) as TRKGRSIZ values(NETNAME) as NETNAME values(SWITCH) as SWITCH values(MEMNAME) as MEMNAME values(RTESET) as RTESET values(CIC) as CIC by N O K 
| eval Call="Outbound" 
| fields **A B C D E F G H I J L M P Q R S T U V W X Y Z A1 A2 A3 A4 A5** N OPC O DPC K CIC CLLI ADMININF ADNUM TRKGRSIZ NETNAME SWITCH MEMNAME RTESET Call 
| table **A B C D E F G H I J L M P Q R S T U V W X Y Z** A1 A2 A3 A4 A5 N OPC O DPC K CIC CLLI ADMININF ADNUM TRKGRSIZ NETNAME SWITCH MEMNAME RTESET Call 
| search OPC=* AND DPC=* 
| rename K as "TCIC" N as "Originating_Point_Code" O as "Destination_Point_Code"
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 31 Oct 2019 17:21:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Search-without-join-for-multiple-index/m-p/472979#M133134</guid>
      <dc:creator>vikashperiwal</dc:creator>
      <dc:date>2019-10-31T17:21:12Z</dc:date>
    </item>
    <item>
      <title>Re: Search without join for multiple index</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Search-without-join-for-multiple-index/m-p/472980#M133135</link>
      <description>&lt;P&gt;Hi  vikashperiwal,&lt;BR /&gt;
why do you used &lt;CODE&gt;fields - _raw&lt;/CODE&gt;?&lt;BR /&gt;
in this way you haven't che content of event's any more!&lt;/P&gt;

&lt;P&gt;Ciao.&lt;BR /&gt;
Giuseppe&lt;/P&gt;</description>
      <pubDate>Thu, 31 Oct 2019 17:27:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Search-without-join-for-multiple-index/m-p/472980#M133135</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2019-10-31T17:27:44Z</dc:date>
    </item>
    <item>
      <title>Re: Search without join for multiple index</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Search-without-join-for-multiple-index/m-p/472981#M133136</link>
      <description>&lt;P&gt;the only reason i included fields - _raw is because my query is getting auto finalize because of large number of events&lt;/P&gt;</description>
      <pubDate>Fri, 01 Nov 2019 04:35:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Search-without-join-for-multiple-index/m-p/472981#M133136</guid>
      <dc:creator>vikashperiwal</dc:creator>
      <dc:date>2019-11-01T04:35:05Z</dc:date>
    </item>
    <item>
      <title>Re: Search without join for multiple index</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Search-without-join-for-multiple-index/m-p/472982#M133137</link>
      <description>&lt;P&gt;even after removing  fields - _raw  and kepping earliest-1 hr , i am having same issue ...not able to show  fields A B C D E F G H I J L M P Q R S T U V W X Y Z A1 A2 A3 A4 A5 along with other fields&lt;/P&gt;</description>
      <pubDate>Fri, 01 Nov 2019 04:43:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Search-without-join-for-multiple-index/m-p/472982#M133137</guid>
      <dc:creator>vikashperiwal</dc:creator>
      <dc:date>2019-11-01T04:43:22Z</dc:date>
    </item>
    <item>
      <title>Re: Search without join for multiple index</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Search-without-join-for-multiple-index/m-p/472983#M133138</link>
      <description>&lt;P&gt;Hi vikashperiwal,,&lt;BR /&gt;
at first which Mode are you using? try with Verbose.&lt;/P&gt;

&lt;P&gt;If you simplify your search in this way you still haven't fields?&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;(index=abc sourcetype=ISUP_EVENT_ACCESS_VW earliest=-8h@h latest=-4h@h) OR (index=csvlookups source="*SWITCH*") 
| eval N=coalesce(N,OPC), O=coalesce(O,DPC), K=coalesce(K,CIC) 
| search N=* O=* K=* 
| eventstats values(OPC) as OPC values(DPC) as DPC values(CLLI) as CLLI values(ADMININF) as ADMININF values(ADNUM) as ADNUM values(TRKGRSIZ) as TRKGRSIZ values(NETNAME) as NETNAME values(SWITCH) as SWITCH values(MEMNAME) as MEMNAME values(RTESET) as RTESET values(CIC) as CIC by N O K 
| eval Call="Outbound" 
| table A B C D E F G H I J L M P Q R S T U V W X Y Z A1 A2 A3 A4 A5 N OPC O DPC K CIC CLLI ADMININF ADNUM TRKGRSIZ NETNAME SWITCH MEMNAME RTESET Call 
 | search OPC=* DPC=* 
 | rename K as "TCIC" N as "Originating_Point_Code" O as "Destination_Point_Code"
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Ciao.&lt;BR /&gt;
Giuseppe&lt;/P&gt;</description>
      <pubDate>Fri, 01 Nov 2019 09:24:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Search-without-join-for-multiple-index/m-p/472983#M133138</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2019-11-01T09:24:25Z</dc:date>
    </item>
    <item>
      <title>Re: Search without join for multiple index</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Search-without-join-for-multiple-index/m-p/472984#M133139</link>
      <description>&lt;P&gt;Thanks for your time and effort .. Its really appreciated&lt;/P&gt;

&lt;P&gt;This is query is working for me now.... will ask the user to validate the data.&lt;/P&gt;</description>
      <pubDate>Fri, 01 Nov 2019 10:58:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Search-without-join-for-multiple-index/m-p/472984#M133139</guid>
      <dc:creator>vikashperiwal</dc:creator>
      <dc:date>2019-11-01T10:58:47Z</dc:date>
    </item>
    <item>
      <title>Re: Search without join for multiple index</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Search-without-join-for-multiple-index/m-p/472985#M133140</link>
      <description>&lt;P&gt;When we run the query in fast mode for different time ranges(say Last 24 hours, All Time), it returns different results everytime. Is it some bug?&lt;/P&gt;</description>
      <pubDate>Wed, 06 Nov 2019 10:44:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Search-without-join-for-multiple-index/m-p/472985#M133140</guid>
      <dc:creator>vharshit</dc:creator>
      <dc:date>2019-11-06T10:44:12Z</dc:date>
    </item>
  </channel>
</rss>

