<?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: multisearch with a lookup and index? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/multisearch-with-a-lookup-and-index/m-p/562010#M195459</link>
    <description>&lt;P&gt;hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/224528"&gt;@msage&lt;/a&gt;,&lt;BR /&gt;&lt;BR /&gt;Try this:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index=&amp;lt;provide_index_name&amp;gt; EVDESCR="alarm" 
| append [ | inputlookup genericlookupname.csv ]
| eval Date=coalesce(Date, strftime(_time, "%m/%d/%Y"))
| stats count(eval(index="&amp;lt;provide_index_name&amp;gt;")) as alarms, count(eval(index!="&amp;lt;provide_index_name&amp;gt;")) as acknowledgements by Date&lt;/LI-CODE&gt;</description>
    <pubDate>Wed, 04 Aug 2021 05:07:31 GMT</pubDate>
    <dc:creator>manjunathmeti</dc:creator>
    <dc:date>2021-08-04T05:07:31Z</dc:date>
    <item>
      <title>multisearch with a lookup and index?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/multisearch-with-a-lookup-and-index/m-p/561940#M195439</link>
      <description>&lt;P&gt;I'm looking to combine data from a lookup file to data from our security server to create a comparison chart between how many alarms we get (security server) and how many of those are acknowledged (lookup file). I figured multisearch was the way to go but I'm getting errors when using it. The search is below. The reason for the eval Date fields are because one column contains dates so I needed to get them in the right order since they were always out. The end goal is a daily chart showing x alarms and y acknowledgements.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| multisearch

    [| inputlookup genericlookupname.csv
| eval Date=strptime(Date,"%m/%d/%Y")
| sort Date
| eval Date=strftime(Date,"%m/%d/%Y")]
    [search index=index EVDESCR="alarm"]&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 03 Aug 2021 18:07:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/multisearch-with-a-lookup-and-index/m-p/561940#M195439</guid>
      <dc:creator>msage</dc:creator>
      <dc:date>2021-08-03T18:07:45Z</dc:date>
    </item>
    <item>
      <title>Re: multisearch with a lookup and index?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/multisearch-with-a-lookup-and-index/m-p/562010#M195459</link>
      <description>&lt;P&gt;hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/224528"&gt;@msage&lt;/a&gt;,&lt;BR /&gt;&lt;BR /&gt;Try this:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index=&amp;lt;provide_index_name&amp;gt; EVDESCR="alarm" 
| append [ | inputlookup genericlookupname.csv ]
| eval Date=coalesce(Date, strftime(_time, "%m/%d/%Y"))
| stats count(eval(index="&amp;lt;provide_index_name&amp;gt;")) as alarms, count(eval(index!="&amp;lt;provide_index_name&amp;gt;")) as acknowledgements by Date&lt;/LI-CODE&gt;</description>
      <pubDate>Wed, 04 Aug 2021 05:07:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/multisearch-with-a-lookup-and-index/m-p/562010#M195459</guid>
      <dc:creator>manjunathmeti</dc:creator>
      <dc:date>2021-08-04T05:07:31Z</dc:date>
    </item>
    <item>
      <title>Re: multisearch with a lookup and index?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/multisearch-with-a-lookup-and-index/m-p/562810#M196104</link>
      <description>&lt;P&gt;Hey&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/129090"&gt;@manjunathmeti&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried this but unfortunately the lookup data always stays at 0.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 10 Aug 2021 21:04:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/multisearch-with-a-lookup-and-index/m-p/562810#M196104</guid>
      <dc:creator>msage</dc:creator>
      <dc:date>2021-08-10T21:04:15Z</dc:date>
    </item>
    <item>
      <title>Re: multisearch with a lookup and index?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/multisearch-with-a-lookup-and-index/m-p/562850#M196112</link>
      <description>&lt;P&gt;Does genericlookupname.csv has &lt;STRONG&gt;Date&lt;/STRONG&gt; field?&lt;/P&gt;</description>
      <pubDate>Wed, 11 Aug 2021 04:22:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/multisearch-with-a-lookup-and-index/m-p/562850#M196112</guid>
      <dc:creator>manjunathmeti</dc:creator>
      <dc:date>2021-08-11T04:22:54Z</dc:date>
    </item>
    <item>
      <title>Re: multisearch with a lookup and index?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/multisearch-with-a-lookup-and-index/m-p/562988#M196150</link>
      <description>&lt;P&gt;It does yes&lt;/P&gt;</description>
      <pubDate>Wed, 11 Aug 2021 20:48:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/multisearch-with-a-lookup-and-index/m-p/562988#M196150</guid>
      <dc:creator>msage</dc:creator>
      <dc:date>2021-08-11T20:48:33Z</dc:date>
    </item>
    <item>
      <title>Re: multisearch with a lookup and index?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/multisearch-with-a-lookup-and-index/m-p/563017#M196153</link>
      <description>&lt;P&gt;Try this:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index=&amp;lt;provide_index_name&amp;gt; EVDESCR="alarm" 
| append [ | inputlookup genericlookupname.csv | eval index="mycsvdata" ]
| eval Date=coalesce(Date, strftime(_time, "%m/%d/%Y"))
| fields index, Date
| stats count(eval(index="&amp;lt;provide_index_name&amp;gt;")) as alarms, count(eval(index="mycsvdata")) as acknowledgements by Date&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If this reply helps you, a like would be appreciated.&lt;/P&gt;</description>
      <pubDate>Thu, 12 Aug 2021 04:13:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/multisearch-with-a-lookup-and-index/m-p/563017#M196153</guid>
      <dc:creator>manjunathmeti</dc:creator>
      <dc:date>2021-08-12T04:13:07Z</dc:date>
    </item>
  </channel>
</rss>

