<?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 How can I enrich my search results with an inputlookup? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-can-I-enrich-my-search-results-with-an-inputlookup/m-p/164566#M46723</link>
    <description>&lt;P&gt;I'm having a really hard time figuring this one out. How can I enrich my search results with an inputlookup?&lt;/P&gt;

&lt;P&gt;In this search I can show all hosts that do have a filesystem for a specific process, but don't have that process running:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=ix_*_nix_p host=*.linux.domain.com sourcetype=df Filesystem="/dev/mapper/vg.appl-lv.was70" OR Filesystem="/dev/mapper/vg.appl-lv.was70" NOT [ search index=ix_*_nix_p host=*.linux.domain.com sourcetype=ps COMMAND=java USER=ups | dedup host | fields host ] | dedup host | table host
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I also created an outputlookup (cpu.csv), showing 3 fields: host, cpu-count, and cpu-type. &lt;/P&gt;

&lt;P&gt;Now, I would really like to enrich the first search, with the specs from the cpu's, resulting in host (from first search), cpu-count and cpu-type (from inputlookup). &lt;/P&gt;

&lt;P&gt;Thank you in advance!&lt;/P&gt;</description>
    <pubDate>Wed, 15 Oct 2014 21:29:22 GMT</pubDate>
    <dc:creator>renems</dc:creator>
    <dc:date>2014-10-15T21:29:22Z</dc:date>
    <item>
      <title>How can I enrich my search results with an inputlookup?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-can-I-enrich-my-search-results-with-an-inputlookup/m-p/164566#M46723</link>
      <description>&lt;P&gt;I'm having a really hard time figuring this one out. How can I enrich my search results with an inputlookup?&lt;/P&gt;

&lt;P&gt;In this search I can show all hosts that do have a filesystem for a specific process, but don't have that process running:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=ix_*_nix_p host=*.linux.domain.com sourcetype=df Filesystem="/dev/mapper/vg.appl-lv.was70" OR Filesystem="/dev/mapper/vg.appl-lv.was70" NOT [ search index=ix_*_nix_p host=*.linux.domain.com sourcetype=ps COMMAND=java USER=ups | dedup host | fields host ] | dedup host | table host
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I also created an outputlookup (cpu.csv), showing 3 fields: host, cpu-count, and cpu-type. &lt;/P&gt;

&lt;P&gt;Now, I would really like to enrich the first search, with the specs from the cpu's, resulting in host (from first search), cpu-count and cpu-type (from inputlookup). &lt;/P&gt;

&lt;P&gt;Thank you in advance!&lt;/P&gt;</description>
      <pubDate>Wed, 15 Oct 2014 21:29:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-can-I-enrich-my-search-results-with-an-inputlookup/m-p/164566#M46723</guid>
      <dc:creator>renems</dc:creator>
      <dc:date>2014-10-15T21:29:22Z</dc:date>
    </item>
    <item>
      <title>Re: How can I enrich my search results with an inputlookup?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-can-I-enrich-my-search-results-with-an-inputlookup/m-p/164567#M46724</link>
      <description>&lt;P&gt;Try this&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; index=ix_*_nix_p host=*.linux.domain.com sourcetype=df Filesystem="/dev/mapper/vg.appl-lv.was70" OR Filesystem="/dev/mapper/vg.appl-lv.was70" NOT [ search index=ix_*_nix_p host=*.linux.domain.com sourcetype=ps COMMAND=java USER=ups | dedup host | fields host ] | dedup host | table host | lookup cpu.csv host
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Assuming cpu.csv is set as lookup table and its scope/permissions have been setup correctly to be accessible here.&lt;/P&gt;</description>
      <pubDate>Wed, 15 Oct 2014 22:04:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-can-I-enrich-my-search-results-with-an-inputlookup/m-p/164567#M46724</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2014-10-15T22:04:14Z</dc:date>
    </item>
  </channel>
</rss>

