<?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: How to Join fields from 2 indexes in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-Join-fields-from-2-indexes/m-p/130149#M35422</link>
    <description>&lt;P&gt;And I found a mistake - there is "AccountName*&lt;EM&gt;!&lt;/EM&gt;&lt;EM&gt;="&lt;/EM&gt;$""&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;source="WinEventLog:Security" EventCode=4624 AccountName!="*$" | eval user = mvindex(AccountName,1) |dedup user | join type=left user [ search index=anotherindex employeeID=* ] | table _time, user, employeeID
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Mon, 28 Sep 2020 18:14:26 GMT</pubDate>
    <dc:creator>r2r2</dc:creator>
    <dc:date>2020-09-28T18:14:26Z</dc:date>
    <item>
      <title>How to Join fields from 2 indexes</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-Join-fields-from-2-indexes/m-p/130146#M35419</link>
      <description>&lt;P&gt;Hello!&lt;BR /&gt;
I am trying to make a dashboard with fields from 2 indexes using the command "join".&lt;BR /&gt;
I wrote a search &lt;CODE&gt;source="WinEventLog:Security" EventCode=4624 AccountName!="*$" | eval user = mvindex(AccountName,1) |dedup user | join type=left user [index=anotherindex employeeID=*] | table _time, user, employeeID&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;But column employeeID is empty. What did I do wrong?&lt;/P&gt;</description>
      <pubDate>Mon, 24 Nov 2014 12:02:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-Join-fields-from-2-indexes/m-p/130146#M35419</guid>
      <dc:creator>r2r2</dc:creator>
      <dc:date>2014-11-24T12:02:14Z</dc:date>
    </item>
    <item>
      <title>Re: How to Join fields from 2 indexes</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-Join-fields-from-2-indexes/m-p/130147#M35420</link>
      <description>&lt;P&gt;Use this one&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;source="WinEventLog:Security" EventCode=4624 AccountName="*$" | eval user = mvindex(AccountName,1) |dedup user | join type=left user [&lt;/CODE&gt;&lt;STRONG&gt;search&lt;/STRONG&gt; &lt;CODE&gt;index=anotherindex employeeID=* ] | table _time, user, employeeID&lt;/CODE&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 24 Nov 2014 12:30:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-Join-fields-from-2-indexes/m-p/130147#M35420</guid>
      <dc:creator>jitsinha</dc:creator>
      <dc:date>2014-11-24T12:30:16Z</dc:date>
    </item>
    <item>
      <title>Re: How to Join fields from 2 indexes</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-Join-fields-from-2-indexes/m-p/130148#M35421</link>
      <description>&lt;P&gt;I added "search" but column "employeeID" is still empty.&lt;/P&gt;</description>
      <pubDate>Mon, 24 Nov 2014 13:06:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-Join-fields-from-2-indexes/m-p/130148#M35421</guid>
      <dc:creator>r2r2</dc:creator>
      <dc:date>2014-11-24T13:06:26Z</dc:date>
    </item>
    <item>
      <title>Re: How to Join fields from 2 indexes</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-Join-fields-from-2-indexes/m-p/130149#M35422</link>
      <description>&lt;P&gt;And I found a mistake - there is "AccountName*&lt;EM&gt;!&lt;/EM&gt;&lt;EM&gt;="&lt;/EM&gt;$""&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;source="WinEventLog:Security" EventCode=4624 AccountName!="*$" | eval user = mvindex(AccountName,1) |dedup user | join type=left user [ search index=anotherindex employeeID=* ] | table _time, user, employeeID
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 28 Sep 2020 18:14:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-Join-fields-from-2-indexes/m-p/130149#M35422</guid>
      <dc:creator>r2r2</dc:creator>
      <dc:date>2020-09-28T18:14:26Z</dc:date>
    </item>
    <item>
      <title>Re: How to Join fields from 2 indexes</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-Join-fields-from-2-indexes/m-p/130150#M35423</link>
      <description>&lt;P&gt;glad it resolved your issue&lt;/P&gt;</description>
      <pubDate>Mon, 24 Nov 2014 13:12:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-Join-fields-from-2-indexes/m-p/130150#M35423</guid>
      <dc:creator>jitsinha</dc:creator>
      <dc:date>2014-11-24T13:12:37Z</dc:date>
    </item>
    <item>
      <title>Re: How to Join fields from 2 indexes</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-Join-fields-from-2-indexes/m-p/130151#M35424</link>
      <description>&lt;P&gt;chersss!!!&lt;/P&gt;</description>
      <pubDate>Mon, 24 Nov 2014 13:13:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-Join-fields-from-2-indexes/m-p/130151#M35424</guid>
      <dc:creator>jitsinha</dc:creator>
      <dc:date>2014-11-24T13:13:15Z</dc:date>
    </item>
    <item>
      <title>Re: How to Join fields from 2 indexes</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-Join-fields-from-2-indexes/m-p/130152#M35425</link>
      <description>&lt;P&gt;I found one more mistake in this search and now it works properly.&lt;BR /&gt;
Your answer resolved my issue. Thank you!&lt;/P&gt;</description>
      <pubDate>Mon, 24 Nov 2014 13:19:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-Join-fields-from-2-indexes/m-p/130152#M35425</guid>
      <dc:creator>r2r2</dc:creator>
      <dc:date>2014-11-24T13:19:23Z</dc:date>
    </item>
  </channel>
</rss>

