<?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 question regarding correlating two different device logs in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/question-regarding-correlating-two-different-device-logs/m-p/197830#M57198</link>
    <description>&lt;P&gt;hiii&lt;/P&gt;

&lt;P&gt;we are having waf and ids the ip passes from ids and waf so i need to correlate the ip address and name fields in both devices... give me some example query regarding this&lt;/P&gt;

&lt;P&gt;we have two device like waf and ids in this we &lt;/P&gt;

&lt;P&gt;what i need is common ip address in both devices&lt;BR /&gt;
  source address waf  signature of waf source address of ids  signature of ids &lt;/P&gt;</description>
    <pubDate>Fri, 13 Jun 2014 07:50:33 GMT</pubDate>
    <dc:creator>somu2014</dc:creator>
    <dc:date>2014-06-13T07:50:33Z</dc:date>
    <item>
      <title>question regarding correlating two different device logs</title>
      <link>https://community.splunk.com/t5/Splunk-Search/question-regarding-correlating-two-different-device-logs/m-p/197830#M57198</link>
      <description>&lt;P&gt;hiii&lt;/P&gt;

&lt;P&gt;we are having waf and ids the ip passes from ids and waf so i need to correlate the ip address and name fields in both devices... give me some example query regarding this&lt;/P&gt;

&lt;P&gt;we have two device like waf and ids in this we &lt;/P&gt;

&lt;P&gt;what i need is common ip address in both devices&lt;BR /&gt;
  source address waf  signature of waf source address of ids  signature of ids &lt;/P&gt;</description>
      <pubDate>Fri, 13 Jun 2014 07:50:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/question-regarding-correlating-two-different-device-logs/m-p/197830#M57198</guid>
      <dc:creator>somu2014</dc:creator>
      <dc:date>2014-06-13T07:50:33Z</dc:date>
    </item>
    <item>
      <title>Re: question regarding correlating two different device logs</title>
      <link>https://community.splunk.com/t5/Splunk-Search/question-regarding-correlating-two-different-device-logs/m-p/197831#M57199</link>
      <description>&lt;P&gt;Without knowing more details about your setup, the easiest way to do this is probably with a &lt;CODE&gt;join&lt;/CODE&gt;. If the field names for &lt;STRONG&gt;source address&lt;/STRONG&gt; and &lt;STRONG&gt;signature&lt;/STRONG&gt; are the same in both (&lt;CODE&gt;src_addr&lt;/CODE&gt; and &lt;CODE&gt;sig&lt;/CODE&gt; in this example), you'll want to rename them so they don't overlap:&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;source=waf | rename src_addr as src_addr_waf, sig as sig_waf | join ip_addr [search source=ids | rename src_addr as src_addr_ids, sig as sig_ids] | table ip_addr src_addr_waf sig_waf src_addr_ids sig_ids&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;There are limitations to the number of results you can get back from a subsearch (the search in the brackets) that defaults to 50,000, so you'll want to either (a) make sure you have a small enough timeframe where that won't occur, or (b) change your limits.conf file to allow for more. See this page for a description of the limitations in the bottom section:&lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/6.1.1/Search/Aboutsubsearches#Result_output_settings_for_subsearch_commands" target="_blank"&gt;http://docs.splunk.com/Documentation/Splunk/6.1.1/Search/Aboutsubsearches#Result_output_settings_for_subsearch_commands&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 16:51:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/question-regarding-correlating-two-different-device-logs/m-p/197831#M57199</guid>
      <dc:creator>aweitzman</dc:creator>
      <dc:date>2020-09-28T16:51:16Z</dc:date>
    </item>
    <item>
      <title>Re: question regarding correlating two different device logs</title>
      <link>https://community.splunk.com/t5/Splunk-Search/question-regarding-correlating-two-different-device-logs/m-p/197832#M57200</link>
      <description>&lt;P&gt;Thank you for ur answer and i also have one question &lt;/P&gt;

&lt;P&gt;we have two log files one is ids logs and another is waf&lt;/P&gt;

&lt;P&gt;we want to check for source address which are common in both ids and waf once we get that list that list of sources  which are common in ids and waf we need the list of signature for those sources from both ids and waf &lt;/P&gt;

&lt;P&gt;expected output:: src adress is comman in both ids and waf &lt;/P&gt;

&lt;P&gt;srcaddress , sig of ids, sig of waf &lt;/P&gt;</description>
      <pubDate>Tue, 17 Jun 2014 07:35:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/question-regarding-correlating-two-different-device-logs/m-p/197832#M57200</guid>
      <dc:creator>somu2014</dc:creator>
      <dc:date>2014-06-17T07:35:08Z</dc:date>
    </item>
    <item>
      <title>Re: question regarding correlating two different device logs</title>
      <link>https://community.splunk.com/t5/Splunk-Search/question-regarding-correlating-two-different-device-logs/m-p/197833#M57201</link>
      <description>&lt;P&gt;It's a similar answer to above:&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;source=waf | rename sig as sig_waf | join src_addr [search source=ids | rename sig as sig_ids] | table src_addr sig_ids sig_waf&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;Use the common field as the field to join on (in this case &lt;CODE&gt;src_addr&lt;/CODE&gt;) and do the same search on both sources, renaming any output fields that are the same in both so you know which one is which. Then create a table with the common field and any of your output fields.&lt;/P&gt;

&lt;P&gt;Read up on the &lt;CODE&gt;join&lt;/CODE&gt; command here:&lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/6.1.1/SearchReference/Join"&gt;http://docs.splunk.com/Documentation/Splunk/6.1.1/SearchReference/Join&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 17 Jun 2014 13:33:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/question-regarding-correlating-two-different-device-logs/m-p/197833#M57201</guid>
      <dc:creator>aweitzman</dc:creator>
      <dc:date>2014-06-17T13:33:44Z</dc:date>
    </item>
  </channel>
</rss>

