<?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 adding data from lookup to search in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/adding-data-from-lookup-to-search/m-p/250052#M74642</link>
    <description>&lt;P&gt;I have a spreadsheet.csv with the following info:&lt;BR /&gt;
date, SID&lt;BR /&gt;
16/03/2016, x555xx5x5&lt;BR /&gt;
...&lt;/P&gt;

&lt;P&gt;I want to add the SID value as Account_Name to search:&lt;/P&gt;

&lt;P&gt;index=blah source=&lt;EM&gt;blah.log Account_Name=&lt;/EM&gt; |stats count&lt;/P&gt;

&lt;P&gt;Whats the most efficient method and example in distributed environment?&lt;/P&gt;

&lt;P&gt;Thanks in advance!&lt;/P&gt;</description>
    <pubDate>Wed, 16 Mar 2016 17:16:26 GMT</pubDate>
    <dc:creator>smudge797</dc:creator>
    <dc:date>2016-03-16T17:16:26Z</dc:date>
    <item>
      <title>adding data from lookup to search</title>
      <link>https://community.splunk.com/t5/Splunk-Search/adding-data-from-lookup-to-search/m-p/250052#M74642</link>
      <description>&lt;P&gt;I have a spreadsheet.csv with the following info:&lt;BR /&gt;
date, SID&lt;BR /&gt;
16/03/2016, x555xx5x5&lt;BR /&gt;
...&lt;/P&gt;

&lt;P&gt;I want to add the SID value as Account_Name to search:&lt;/P&gt;

&lt;P&gt;index=blah source=&lt;EM&gt;blah.log Account_Name=&lt;/EM&gt; |stats count&lt;/P&gt;

&lt;P&gt;Whats the most efficient method and example in distributed environment?&lt;/P&gt;

&lt;P&gt;Thanks in advance!&lt;/P&gt;</description>
      <pubDate>Wed, 16 Mar 2016 17:16:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/adding-data-from-lookup-to-search/m-p/250052#M74642</guid>
      <dc:creator>smudge797</dc:creator>
      <dc:date>2016-03-16T17:16:26Z</dc:date>
    </item>
    <item>
      <title>Re: adding data from lookup to search</title>
      <link>https://community.splunk.com/t5/Splunk-Search/adding-data-from-lookup-to-search/m-p/250053#M74643</link>
      <description>&lt;P&gt;Try something like this (based on where you've your csv file, choose between inputcsv( if in $SPLUNK_HOME/var/run/splunk) or inputlookup (if it's added as lookup table file $SPLUNK_HOME/etc/apps/AppName/lookups)&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=blah source=*blah.log [inputcsv spreadsheet.csv | stats count by SID | table SID | rename SID as Account_Name] |stats count
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 29 Sep 2020 09:04:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/adding-data-from-lookup-to-search/m-p/250053#M74643</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2020-09-29T09:04:02Z</dc:date>
    </item>
    <item>
      <title>Re: adding data from lookup to search</title>
      <link>https://community.splunk.com/t5/Splunk-Search/adding-data-from-lookup-to-search/m-p/250054#M74644</link>
      <description>&lt;P&gt;cool thanks!&lt;/P&gt;</description>
      <pubDate>Wed, 16 Mar 2016 22:50:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/adding-data-from-lookup-to-search/m-p/250054#M74644</guid>
      <dc:creator>smudge797</dc:creator>
      <dc:date>2016-03-16T22:50:03Z</dc:date>
    </item>
  </channel>
</rss>

