<?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 field in  2 index in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-search-field-in-two-indexes/m-p/635695#M220861</link>
    <description>&lt;P&gt;hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/255054"&gt;@shashilendraman&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;let me understand:&lt;/P&gt;&lt;P&gt;you want to filter the "ASA" index events using the events from the "otx" index, using as correlation key the fields&amp;nbsp;&lt;SPAN&gt;"Dst_IP" field from "ASA" and the "indicator" field from "otx" index; then you want to display&amp;nbsp;&amp;nbsp;&amp;nbsp;the "scrip" field from "ASA" index, is it correct?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;if this is your requirement, please try this:&lt;/SPAN&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index=ASA [ search index=otx indicator=* | rename indicator AS Dst_IP | fields Dst_IP ] 
| dedup scrip
| sort scrip
| table scrip&lt;/LI-CODE&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
    <pubDate>Thu, 23 Mar 2023 12:14:03 GMT</pubDate>
    <dc:creator>gcusello</dc:creator>
    <dc:date>2023-03-23T12:14:03Z</dc:date>
    <item>
      <title>How to search field in two indexes?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-search-field-in-two-indexes/m-p/635683#M220856</link>
      <description>&lt;P&gt;how to search value of "Dst_IP" field from "ASA" index to "otx" index "indicator" field and display the scrip" field from "ASA" index.&lt;/P&gt;</description>
      <pubDate>Thu, 23 Mar 2023 14:37:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-search-field-in-two-indexes/m-p/635683#M220856</guid>
      <dc:creator>shashilendraman</dc:creator>
      <dc:date>2023-03-23T14:37:31Z</dc:date>
    </item>
    <item>
      <title>Re: Search field in  2 index</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-search-field-in-two-indexes/m-p/635695#M220861</link>
      <description>&lt;P&gt;hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/255054"&gt;@shashilendraman&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;let me understand:&lt;/P&gt;&lt;P&gt;you want to filter the "ASA" index events using the events from the "otx" index, using as correlation key the fields&amp;nbsp;&lt;SPAN&gt;"Dst_IP" field from "ASA" and the "indicator" field from "otx" index; then you want to display&amp;nbsp;&amp;nbsp;&amp;nbsp;the "scrip" field from "ASA" index, is it correct?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;if this is your requirement, please try this:&lt;/SPAN&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index=ASA [ search index=otx indicator=* | rename indicator AS Dst_IP | fields Dst_IP ] 
| dedup scrip
| sort scrip
| table scrip&lt;/LI-CODE&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Thu, 23 Mar 2023 12:14:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-search-field-in-two-indexes/m-p/635695#M220861</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2023-03-23T12:14:03Z</dc:date>
    </item>
    <item>
      <title>Re: Search field in  2 index</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-search-field-in-two-indexes/m-p/635825#M220897</link>
      <description>&lt;P&gt;yes , you correct , but i am not getting desire output.&lt;/P&gt;&lt;P&gt;i am attaching ASA index output , otx index output and Correlation SPL which i prepared as you suggested.&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ASA index.png" style="width: 999px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/24496iAE172DD150DC3530/image-size/large?v=v2&amp;amp;px=999" role="button" title="ASA index.png" alt="ASA index.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="otx index.png" style="width: 999px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/24497iE1B70D1AD2D9AA65/image-size/large?v=v2&amp;amp;px=999" role="button" title="otx index.png" alt="otx index.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Correlation SPL" style="width: 999px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/24498iE4116B62E28D1BAA/image-size/large?v=v2&amp;amp;px=999" role="button" title="Corelation_SPL.png" alt="Correlation SPL" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Correlation SPL&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 24 Mar 2023 03:57:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-search-field-in-two-indexes/m-p/635825#M220897</guid>
      <dc:creator>shashilendraman</dc:creator>
      <dc:date>2023-03-24T03:57:34Z</dc:date>
    </item>
    <item>
      <title>Re: Search field in  2 index</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-search-field-in-two-indexes/m-p/635828#M220898</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="otx index.png" style="width: 999px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/24499iC5CFCDF1E56E3C93/image-size/large?v=v2&amp;amp;px=999" role="button" title="otx index.png" alt="otx index.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ASA" style="width: 999px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/24500iC7F75C6E6FCE006D/image-size/large?v=v2&amp;amp;px=999" role="button" title="ASA index.png" alt="ASA" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;ASA&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 24 Mar 2023 04:07:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-search-field-in-two-indexes/m-p/635828#M220898</guid>
      <dc:creator>shashilendraman</dc:creator>
      <dc:date>2023-03-24T04:07:47Z</dc:date>
    </item>
    <item>
      <title>Re: How to search field in two indexes?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-search-field-in-two-indexes/m-p/635833#M220900</link>
      <description>&lt;P&gt;Hi Gcusello,&lt;/P&gt;&lt;P&gt;output is blank for&amp;nbsp; below query.&lt;/P&gt;&lt;P&gt;index=*asa* [search index=otx sourcetype="otx:indicator" type=IPv4 indicator=* |rename indicator as dst_ip|fields dst_ip]|dedup src_ip|table src_ip.&lt;/P&gt;&lt;P&gt;how ever i manually ping/trace 1 ip address which is in indicator field for testing purpose and i can see those IP in ASA&amp;nbsp; logs in splunk.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;shashi&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 24 Mar 2023 06:23:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-search-field-in-two-indexes/m-p/635833#M220900</guid>
      <dc:creator>shashilendraman</dc:creator>
      <dc:date>2023-03-24T06:23:48Z</dc:date>
    </item>
    <item>
      <title>Re: How to search field in two indexes?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-search-field-in-two-indexes/m-p/635880#M220911</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/255054"&gt;@shashilendraman&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;manually run the subsearch, them manually use the results in the main search and analyze them to understand&amp;nbsp;&amp;nbsp;if results are compatible with the main search (e.g. format, or message, etc...) and if the search must have results.&lt;/P&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Fri, 24 Mar 2023 10:35:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-search-field-in-two-indexes/m-p/635880#M220911</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2023-03-24T10:35:18Z</dc:date>
    </item>
  </channel>
</rss>

