<?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: Multiple raw text fields returned and charted in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Multiple-raw-text-fields-returned-and-charted/m-p/90695#M23303</link>
    <description>&lt;P&gt;A small trick, I always use to distinguish oposite lines.&lt;BR /&gt;
use an eval function to put one of the trend in negative, that way the graph will show under the X axis.&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;... | rex "\|LOGIN (?&amp;lt;authen&amp;gt;\w+)\|" | timechart span=1h count by authen | eval count=if(authen="FAILURE",-count,count)&lt;/CODE&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 11 Apr 2013 15:42:43 GMT</pubDate>
    <dc:creator>yannK</dc:creator>
    <dc:date>2013-04-11T15:42:43Z</dc:date>
    <item>
      <title>Multiple raw text fields returned and charted</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Multiple-raw-text-fields-returned-and-charted/m-p/90692#M23300</link>
      <description>&lt;P&gt;There have been many answers close to my solution but I have not been able to replicate based on those. &lt;/P&gt;

&lt;P&gt;I am looking at pulling 3 sets of data from login logs.&lt;BR /&gt;&lt;BR /&gt;
 1. Logins&lt;BR /&gt;
 2. Login Success&lt;BR /&gt;
 3. Login Failure&lt;/P&gt;

&lt;P&gt;and then chart them over time:  60 minutes or 24 hours.  &lt;/P&gt;

&lt;P&gt;What I want to be able to see is a trend over time showing ALL login attempts (be them success or fail) and then also graph lines underneath that (which would add up to the top line of course) of all Success and all Failure. &lt;/P&gt;

&lt;P&gt;The text in my log returns as simple |LOGIN SUCCESS|  or |LOGIN FAILURE|&lt;/P&gt;

&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Thu, 11 Apr 2013 14:14:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Multiple-raw-text-fields-returned-and-charted/m-p/90692#M23300</guid>
      <dc:creator>MattQ</dc:creator>
      <dc:date>2013-04-11T14:14:14Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple raw text fields returned and charted</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Multiple-raw-text-fields-returned-and-charted/m-p/90693#M23301</link>
      <description>&lt;PRE&gt;&lt;CODE&gt;... | rex "\|LOGIN (?&amp;lt;authen&amp;gt;\w+)\|" | timechart span=1h count by authen
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Then change the chart visualisation to bar chart - stacked&lt;/P&gt;

&lt;P&gt;No need for 2 seperate graphs, a single stacked chart will show you all the data you need &lt;/P&gt;</description>
      <pubDate>Thu, 11 Apr 2013 14:45:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Multiple-raw-text-fields-returned-and-charted/m-p/90693#M23301</guid>
      <dc:creator>jonuwz</dc:creator>
      <dc:date>2013-04-11T14:45:40Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple raw text fields returned and charted</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Multiple-raw-text-fields-returned-and-charted/m-p/90694#M23302</link>
      <description>&lt;P&gt;This does give me a graph of all the login activity.  I am actually wanting the separated data of Failure and Success as well though.  To look for trends vs just an increase in activity.  e.g. We see a high amount of login attempts overall, I would like the graph to have the two sub lines of success and failure to determine if an inordinate amount of that traffic is 'Failure'.  &lt;/P&gt;

&lt;P&gt;Thank you for your answer and any follow up.  Really trying to get my brain around which way to think about these things.&lt;/P&gt;</description>
      <pubDate>Thu, 11 Apr 2013 14:50:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Multiple-raw-text-fields-returned-and-charted/m-p/90694#M23302</guid>
      <dc:creator>MattQ</dc:creator>
      <dc:date>2013-04-11T14:50:56Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple raw text fields returned and charted</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Multiple-raw-text-fields-returned-and-charted/m-p/90695#M23303</link>
      <description>&lt;P&gt;A small trick, I always use to distinguish oposite lines.&lt;BR /&gt;
use an eval function to put one of the trend in negative, that way the graph will show under the X axis.&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;... | rex "\|LOGIN (?&amp;lt;authen&amp;gt;\w+)\|" | timechart span=1h count by authen | eval count=if(authen="FAILURE",-count,count)&lt;/CODE&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 11 Apr 2013 15:42:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Multiple-raw-text-fields-returned-and-charted/m-p/90695#M23303</guid>
      <dc:creator>yannK</dc:creator>
      <dc:date>2013-04-11T15:42:43Z</dc:date>
    </item>
  </channel>
</rss>

