<?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 Multiple fields in a string search in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Multiple-fields-in-a-string-search/m-p/172577#M49471</link>
    <description>&lt;P&gt;Hey Guys,&lt;/P&gt;

&lt;P&gt;This is my search:&lt;/P&gt;

&lt;P&gt;index=nexus RNA-IVS "login failed" | timechart count&lt;/P&gt;

&lt;P&gt;which gives&lt;BR /&gt;
time  8pm&lt;BR /&gt;
count  63&lt;/P&gt;

&lt;P&gt;I need to search for two strings so that i get :&lt;BR /&gt;
time 8pm&lt;BR /&gt;
count(login failed): 63&lt;BR /&gt;
count(login passed) 23&lt;/P&gt;

&lt;P&gt;Please assist &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;

&lt;P&gt;Regards&lt;/P&gt;</description>
    <pubDate>Thu, 13 Aug 2015 05:34:36 GMT</pubDate>
    <dc:creator>nanomatical</dc:creator>
    <dc:date>2015-08-13T05:34:36Z</dc:date>
    <item>
      <title>Multiple fields in a string search</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Multiple-fields-in-a-string-search/m-p/172577#M49471</link>
      <description>&lt;P&gt;Hey Guys,&lt;/P&gt;

&lt;P&gt;This is my search:&lt;/P&gt;

&lt;P&gt;index=nexus RNA-IVS "login failed" | timechart count&lt;/P&gt;

&lt;P&gt;which gives&lt;BR /&gt;
time  8pm&lt;BR /&gt;
count  63&lt;/P&gt;

&lt;P&gt;I need to search for two strings so that i get :&lt;BR /&gt;
time 8pm&lt;BR /&gt;
count(login failed): 63&lt;BR /&gt;
count(login passed) 23&lt;/P&gt;

&lt;P&gt;Please assist &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;

&lt;P&gt;Regards&lt;/P&gt;</description>
      <pubDate>Thu, 13 Aug 2015 05:34:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Multiple-fields-in-a-string-search/m-p/172577#M49471</guid>
      <dc:creator>nanomatical</dc:creator>
      <dc:date>2015-08-13T05:34:36Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple fields in a string search</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Multiple-fields-in-a-string-search/m-p/172578#M49472</link>
      <description>&lt;P&gt;Try &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=nexus RNA-IVS |  rex field=_raw ".*login (?&amp;lt;logstate&amp;gt;\s+).*" | timechart count by logstate
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;you probably have to adjust the regular expression &lt;/P&gt;</description>
      <pubDate>Thu, 13 Aug 2015 06:12:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Multiple-fields-in-a-string-search/m-p/172578#M49472</guid>
      <dc:creator>FritzWittwer_ol</dc:creator>
      <dc:date>2015-08-13T06:12:58Z</dc:date>
    </item>
  </channel>
</rss>

