<?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: How to do timechart on a field that has same name but different alert level? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-do-timechart-on-a-field-that-has-same-name-but-different/m-p/332613#M98947</link>
    <description>&lt;P&gt;Give this a try&lt;BR /&gt;
&lt;STRONG&gt;Updated: Fixed typo with field name&lt;/STRONG&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;your base search | eval EventType=Event_Types.":".Alert_Level | timechart count by EventType
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;OR&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;your base search  | where Alert_Level &amp;gt; 6 | eval EventType=Event_Types.":".Alert_Level | timechart count by EventType
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Fri, 28 Jul 2017 16:41:11 GMT</pubDate>
    <dc:creator>somesoni2</dc:creator>
    <dc:date>2017-07-28T16:41:11Z</dc:date>
    <item>
      <title>How to do timechart on a field that has same name but different alert level?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-do-timechart-on-a-field-that-has-same-name-but-different/m-p/332610#M98944</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I have a log with a field call "Event_Types" and then another field call "Alert Level" . &lt;BR /&gt;
In my logs there is an event call "Ping" but this "Ping" has 2 Alert Levels 6 and 10. &lt;BR /&gt;
I want to do a timechart on Event_Types but also want to show that there are 2 pings with different alert levels counted over time.  How should I search for it?&lt;/P&gt;

&lt;P&gt;Alert_Level &amp;gt; 6 | timechart count(Event_Types) as Event_Types count(Alert_Level) will show  "The argument 'count(Alert_Level)' is invalid."&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 15:04:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-do-timechart-on-a-field-that-has-same-name-but-different/m-p/332610#M98944</guid>
      <dc:creator>wuming79</dc:creator>
      <dc:date>2020-09-29T15:04:22Z</dc:date>
    </item>
    <item>
      <title>Re: How to do timechart on a field that has same name but different alert level?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-do-timechart-on-a-field-that-has-same-name-but-different/m-p/332611#M98945</link>
      <description>&lt;P&gt;Are you trying a query like the following?&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| where Alert_Level &amp;gt; 6 | timechart count(Event_Types) as Event_Types count(Alert_Level) as Alert_Level
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 28 Jul 2017 09:31:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-do-timechart-on-a-field-that-has-same-name-but-different/m-p/332611#M98945</guid>
      <dc:creator>niketn</dc:creator>
      <dc:date>2017-07-28T09:31:59Z</dc:date>
    </item>
    <item>
      <title>Re: How to do timechart on a field that has same name but different alert level?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-do-timechart-on-a-field-that-has-same-name-but-different/m-p/332612#M98946</link>
      <description>&lt;P&gt;Hi sorry, I made a mistake, I need it to display "|Alert_Level &amp;gt; 6 | timechart count(Event_Types) by Event_Types count(Alert_Level) "&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 15:09:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-do-timechart-on-a-field-that-has-same-name-but-different/m-p/332612#M98946</guid>
      <dc:creator>wuming79</dc:creator>
      <dc:date>2020-09-29T15:09:23Z</dc:date>
    </item>
    <item>
      <title>Re: How to do timechart on a field that has same name but different alert level?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-do-timechart-on-a-field-that-has-same-name-but-different/m-p/332613#M98947</link>
      <description>&lt;P&gt;Give this a try&lt;BR /&gt;
&lt;STRONG&gt;Updated: Fixed typo with field name&lt;/STRONG&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;your base search | eval EventType=Event_Types.":".Alert_Level | timechart count by EventType
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;OR&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;your base search  | where Alert_Level &amp;gt; 6 | eval EventType=Event_Types.":".Alert_Level | timechart count by EventType
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 28 Jul 2017 16:41:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-do-timechart-on-a-field-that-has-same-name-but-different/m-p/332613#M98947</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2017-07-28T16:41:11Z</dc:date>
    </item>
    <item>
      <title>Re: How to do timechart on a field that has same name but different alert level?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-do-timechart-on-a-field-that-has-same-name-but-different/m-p/332614#M98948</link>
      <description>&lt;P&gt;Hi somesoni2,&lt;/P&gt;

&lt;P&gt;the search show all NULL.&lt;/P&gt;

&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="alt text"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/3269i25B2B8351C743041/image-size/large?v=v2&amp;amp;px=999" role="button" title="alt text" alt="alt text" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 28 Jul 2017 17:23:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-do-timechart-on-a-field-that-has-same-name-but-different/m-p/332614#M98948</guid>
      <dc:creator>wuming79</dc:creator>
      <dc:date>2017-07-28T17:23:22Z</dc:date>
    </item>
    <item>
      <title>Re: How to do timechart on a field that has same name but different alert level?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-do-timechart-on-a-field-that-has-same-name-but-different/m-p/332615#M98949</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/15147"&gt;@somesoni2&lt;/a&gt;, I think field name is Event_Types and not Event_Type.&lt;BR /&gt;
@wuming79, can you please confirm the field names Event_Types and Alert_Level?&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 15:06:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-do-timechart-on-a-field-that-has-same-name-but-different/m-p/332615#M98949</guid>
      <dc:creator>niketn</dc:creator>
      <dc:date>2020-09-29T15:06:19Z</dc:date>
    </item>
    <item>
      <title>Re: How to do timechart on a field that has same name but different alert level?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-do-timechart-on-a-field-that-has-same-name-but-different/m-p/332616#M98950</link>
      <description>&lt;P&gt;@wuming79, there was a typo in my original answer (thanks @niketnilay for pointing that one out), which may be causing that NULL column name. Try the updated answer.&lt;/P&gt;</description>
      <pubDate>Fri, 28 Jul 2017 18:51:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-do-timechart-on-a-field-that-has-same-name-but-different/m-p/332616#M98950</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2017-07-28T18:51:28Z</dc:date>
    </item>
    <item>
      <title>Re: How to do timechart on a field that has same name but different alert level?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-do-timechart-on-a-field-that-has-same-name-but-different/m-p/332617#M98951</link>
      <description>&lt;P&gt;Hi, it's working now. Thanks! &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 30 Jul 2017 13:37:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-do-timechart-on-a-field-that-has-same-name-but-different/m-p/332617#M98951</guid>
      <dc:creator>wuming79</dc:creator>
      <dc:date>2017-07-30T13:37:35Z</dc:date>
    </item>
  </channel>
</rss>

