<?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 help ? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Search-help/m-p/392994#M114324</link>
    <description>&lt;P&gt;In csv better we need to keep host names as  below  i got results but in  more hosts than csv file .&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;    host     H
     YY*      YES
      XX*      YES
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Wed, 16 May 2018 16:09:46 GMT</pubDate>
    <dc:creator>splunker969</dc:creator>
    <dc:date>2018-05-16T16:09:46Z</dc:date>
    <item>
      <title>Search help ?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Search-help/m-p/392989#M114319</link>
      <description>&lt;P&gt;When Iam trying to  run this search its giving me wrong results .Please correct my search. In my csv is having to coumlmns one is host and other H=YES . Thanks &lt;/P&gt;

&lt;P&gt;| metadata type=hosts index=* &lt;BR /&gt;
 | join [| inputlookup watchlist1.csv |search H=YES| rename Host as host] &lt;BR /&gt;
 | stats min(firstTime) as firstTime, max(recentTime) as recentTime, max(lastTime) as lastTime, sum(totalCount) as totalCount by host &lt;BR /&gt;
 | sort lastTime &lt;BR /&gt;
 | convert cTime(firstTime) ctime(recentTime) ctime(lastTime)&lt;BR /&gt;
 | fields host, firstTime, recentTime, lastTime, totalCount &lt;/P&gt;</description>
      <pubDate>Wed, 16 May 2018 15:07:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Search-help/m-p/392989#M114319</guid>
      <dc:creator>splunker969</dc:creator>
      <dc:date>2018-05-16T15:07:53Z</dc:date>
    </item>
    <item>
      <title>Re: Search help ?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Search-help/m-p/392990#M114320</link>
      <description>&lt;P&gt;Are you trying to filter the results of the &lt;CODE&gt;metadata&lt;/CODE&gt; query to only show hosts from your lookup file that contain &lt;CODE&gt;YES&lt;/CODE&gt; in the &lt;CODE&gt;H&lt;/CODE&gt; field? If so, give this a shot:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| metadata type=hosts index=* 
| search 
 [| inputlookup watchlist1.csv 
 |search H="YES"
 | rename Host as host
 | fields host ] 
| stats min(firstTime) as firstTime, max(recentTime) as recentTime, max(lastTime) as lastTime, sum(totalCount) as totalCount by host 
| sort lastTime 
| convert cTime(firstTime) ctime(recentTime) ctime(lastTime)
| fields host, firstTime, recentTime, lastTime, totalCount 
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 16 May 2018 15:23:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Search-help/m-p/392990#M114320</guid>
      <dc:creator>elliotproebstel</dc:creator>
      <dc:date>2018-05-16T15:23:27Z</dc:date>
    </item>
    <item>
      <title>Re: Search help ?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Search-help/m-p/392991#M114321</link>
      <description>&lt;P&gt;Hi ellitproebstel ,&lt;/P&gt;

&lt;P&gt;Thanks :)Search is working can you help me to find the fully qualified name for host  when i search its giving me host name in short cut .&lt;/P&gt;</description>
      <pubDate>Wed, 16 May 2018 15:35:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Search-help/m-p/392991#M114321</guid>
      <dc:creator>splunker969</dc:creator>
      <dc:date>2018-05-16T15:35:56Z</dc:date>
    </item>
    <item>
      <title>Re: Search help ?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Search-help/m-p/392992#M114322</link>
      <description>&lt;P&gt;Do you have the fully qualified name somewhere in your logs or in a lookup? &lt;/P&gt;</description>
      <pubDate>Wed, 16 May 2018 15:50:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Search-help/m-p/392992#M114322</guid>
      <dc:creator>elliotproebstel</dc:creator>
      <dc:date>2018-05-16T15:50:02Z</dc:date>
    </item>
    <item>
      <title>Re: Search help ?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Search-help/m-p/392993#M114323</link>
      <description>&lt;P&gt;logs are having  names&lt;/P&gt;</description>
      <pubDate>Wed, 16 May 2018 15:58:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Search-help/m-p/392993#M114323</guid>
      <dc:creator>splunker969</dc:creator>
      <dc:date>2018-05-16T15:58:51Z</dc:date>
    </item>
    <item>
      <title>Re: Search help ?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Search-help/m-p/392994#M114324</link>
      <description>&lt;P&gt;In csv better we need to keep host names as  below  i got results but in  more hosts than csv file .&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;    host     H
     YY*      YES
      XX*      YES
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 16 May 2018 16:09:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Search-help/m-p/392994#M114324</guid>
      <dc:creator>splunker969</dc:creator>
      <dc:date>2018-05-16T16:09:46Z</dc:date>
    </item>
    <item>
      <title>Re: Search help ?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Search-help/m-p/392995#M114325</link>
      <description>&lt;P&gt;Hi Mate,&lt;/P&gt;

&lt;P&gt;As we are getting the duplicate results from  the csv table and the results are coming with both normal host name and hostname with FQDNS. How do we resolve this and please suggest.&lt;/P&gt;

&lt;P&gt;Example:&lt;BR /&gt;
host&lt;BR /&gt;
host.com&lt;/P&gt;

&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Wed, 16 May 2018 17:02:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Search-help/m-p/392995#M114325</guid>
      <dc:creator>splunker969</dc:creator>
      <dc:date>2018-05-16T17:02:35Z</dc:date>
    </item>
  </channel>
</rss>

