<?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: HELP!  Merging results from a search into a bar chart in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/HELP-Merging-results-from-a-search-into-a-bar-chart/m-p/315606#M94481</link>
    <description>&lt;P&gt;Like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| makeresults | eval raw="data 213::data1 43::data2 125::from 32::from-1 09::tibco5 4::tibco3 7"
| makemv delim="::" raw
| mvexpand raw
| rex field=raw "^(?&amp;lt;InterfaceName&amp;gt;\S+)\s+(?&amp;lt;Count&amp;gt;\S+)$"
| fields - _time raw

| rename COMMENT AS "Everything above fakes sample (intermediate) events; everything below is your solution"
| rename COMMENT AS "YOUR BASE SEARCH GOES HERE"

| rex field=InterfaceName mode=sed "s/[\d-]*$//"
| stats sum(Count) AS Count BY InterfaceName
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Fri, 12 May 2017 04:53:18 GMT</pubDate>
    <dc:creator>woodcock</dc:creator>
    <dc:date>2017-05-12T04:53:18Z</dc:date>
    <item>
      <title>HELP!  Merging results from a search into a bar chart</title>
      <link>https://community.splunk.com/t5/Splunk-Search/HELP-Merging-results-from-a-search-into-a-bar-chart/m-p/315591#M94466</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;

&lt;P&gt;I am trying to merge/concatenate the results of a field with a wild card into one.  Your help is greatly appreciated.&lt;/P&gt;

&lt;P&gt;Sample query:&lt;/P&gt;

&lt;P&gt;index=tibco host=kewlbox OR host=QAbox InterfaceName="data*" OR InterfaceName="from*" OR InterfaceName="tibco*"&lt;BR /&gt;
| stats count as Success by InterfaceName, host&lt;BR /&gt;&lt;BR /&gt;
| append [search index=tibco host=kewlbox OR host=QAbox InterfaceName="data*" OR InterfaceName="from*" OR InterfaceName="tibco*"    [error] &lt;BR /&gt;
| stats count as Errors by InterfaceName, host ]&lt;BR /&gt;&lt;BR /&gt;
| stats values(Success) as Success, values(Errors) as Errors by InterfaceName, host &lt;BR /&gt;
| fillnull Success, Errors  | addtotals  | eval "Success%"=round((Success/Total)*100,2)&lt;BR /&gt;&lt;BR /&gt;
| table InterfaceName, Success, Errors  | sort - Success%&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 13:34:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/HELP-Merging-results-from-a-search-into-a-bar-chart/m-p/315591#M94466</guid>
      <dc:creator>leomedina</dc:creator>
      <dc:date>2020-09-29T13:34:50Z</dc:date>
    </item>
    <item>
      <title>Re: HELP!  Merging results from a search into a bar chart</title>
      <link>https://community.splunk.com/t5/Splunk-Search/HELP-Merging-results-from-a-search-into-a-bar-chart/m-p/315592#M94467</link>
      <description>&lt;P&gt;Almost forgot...  Sample output today:&lt;/P&gt;

&lt;P&gt;InterfaceName          Count&lt;BR /&gt;
data                             213&lt;BR /&gt;
data1                             43&lt;BR /&gt;
data2                            125&lt;BR /&gt;
from                              32&lt;BR /&gt;
from-1                           09&lt;BR /&gt;
tibco5                              4&lt;BR /&gt;
tibco3                              7&lt;/P&gt;

&lt;P&gt;Data that I would like to see is a compilation of everything named data into one with all of the values added; same for from and tibco.  So at the end of the day we'll have data = 381 from = 41 and tibco = 11&lt;/P&gt;

&lt;P&gt;Thanks again in advance.&lt;/P&gt;</description>
      <pubDate>Fri, 07 Apr 2017 09:40:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/HELP-Merging-results-from-a-search-into-a-bar-chart/m-p/315592#M94467</guid>
      <dc:creator>leomedina</dc:creator>
      <dc:date>2017-04-07T09:40:47Z</dc:date>
    </item>
    <item>
      <title>Re: HELP!  Merging results from a search into a bar chart</title>
      <link>https://community.splunk.com/t5/Splunk-Search/HELP-Merging-results-from-a-search-into-a-bar-chart/m-p/315593#M94468</link>
      <description>&lt;P&gt;Hi leomedina,&lt;BR /&gt;
I don't understand your need:&lt;BR /&gt;
this search seems to be correct, what is the additional result you like?&lt;BR /&gt;
what is the field with a wild card you are sayng?&lt;BR /&gt;
Note that in the table command you forgot host!&lt;BR /&gt;
Bye.&lt;BR /&gt;
Giuseppe&lt;/P&gt;</description>
      <pubDate>Fri, 07 Apr 2017 09:44:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/HELP-Merging-results-from-a-search-into-a-bar-chart/m-p/315593#M94468</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2017-04-07T09:44:20Z</dc:date>
    </item>
    <item>
      <title>Re: HELP!  Merging results from a search into a bar chart</title>
      <link>https://community.splunk.com/t5/Splunk-Search/HELP-Merging-results-from-a-search-into-a-bar-chart/m-p/315594#M94469</link>
      <description>&lt;P&gt;Break this apart line by line from the bottom up and you should be able to build what you need:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=tibco host=kewlbox OR host=QAbox InterfaceName="data*" OR InterfaceName="from*" OR InterfaceName="tibco*"
| stats count AS Total count(eval(searchmatch("[error]"))) AS Errors BY InterfaceName host
| eval Success = Total - Errors
| stats sum(*) AS * BY InterfaceName
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sat, 08 Apr 2017 03:31:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/HELP-Merging-results-from-a-search-into-a-bar-chart/m-p/315594#M94469</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2017-04-08T03:31:17Z</dc:date>
    </item>
    <item>
      <title>Re: HELP!  Merging results from a search into a bar chart</title>
      <link>https://community.splunk.com/t5/Splunk-Search/HELP-Merging-results-from-a-search-into-a-bar-chart/m-p/315595#M94470</link>
      <description>&lt;P&gt;Hi Giuseppe,&lt;/P&gt;

&lt;P&gt;Please see my "almost forgot" comment above...  I am attempting to reconcile a number of interface outputs/returns into a single individual output (eg. InterfaceName=data* returns data for several interface names data213, data 1 data2.  I want to see the total of these in one simple output as "data ===bar graph=== count".&lt;/P&gt;

&lt;P&gt;Greatly appreciate your help in advance.&lt;/P&gt;

&lt;P&gt;Kind regards,&lt;/P&gt;

&lt;P&gt;Leo&lt;/P&gt;</description>
      <pubDate>Mon, 10 Apr 2017 02:13:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/HELP-Merging-results-from-a-search-into-a-bar-chart/m-p/315595#M94470</guid>
      <dc:creator>leomedina</dc:creator>
      <dc:date>2017-04-10T02:13:13Z</dc:date>
    </item>
    <item>
      <title>Re: HELP!  Merging results from a search into a bar chart</title>
      <link>https://community.splunk.com/t5/Splunk-Search/HELP-Merging-results-from-a-search-into-a-bar-chart/m-p/315596#M94471</link>
      <description>&lt;P&gt;Hi leomedina,,&lt;BR /&gt;
I hope to had understood your need, try this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=tibco host=kewlbox OR host=QAbox InterfaceName="data*" OR InterfaceName="from*" OR InterfaceName="tibco*"
| eval InterfaceName=case(InterfaceName="data*","data", InterfaceName="from*", "from", InterfaceName="tibco*","tibco")
| stats count as Success by InterfaceName, host 
| append [search index=tibco host=kewlbox OR host=QAbox InterfaceName="data*" OR InterfaceName="from*" OR InterfaceName="tibco*" [error] 
| eval InterfaceName=case(InterfaceName="data*","data", InterfaceName="from*", "from", InterfaceName="tibco*","tibco")
| stats count as Errors by InterfaceName, host ] 
| stats values(Success) as Success, values(Errors) as Errors by InterfaceName, host 
| fillnull Success, Errors | addtotals | eval "Success%"=round((Success/Total)*100,2) 
| table InterfaceName, Success, Errors | sort - Success%
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Bye.&lt;BR /&gt;
Giuseppe&lt;/P&gt;</description>
      <pubDate>Mon, 10 Apr 2017 07:49:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/HELP-Merging-results-from-a-search-into-a-bar-chart/m-p/315596#M94471</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2017-04-10T07:49:13Z</dc:date>
    </item>
    <item>
      <title>Re: HELP!  Merging results from a search into a bar chart</title>
      <link>https://community.splunk.com/t5/Splunk-Search/HELP-Merging-results-from-a-search-into-a-bar-chart/m-p/315597#M94472</link>
      <description>&lt;P&gt;Hi there...&lt;/P&gt;

&lt;P&gt;Please see my comment above...&lt;/P&gt;</description>
      <pubDate>Mon, 10 Apr 2017 19:02:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/HELP-Merging-results-from-a-search-into-a-bar-chart/m-p/315597#M94472</guid>
      <dc:creator>leomedina</dc:creator>
      <dc:date>2017-04-10T19:02:06Z</dc:date>
    </item>
    <item>
      <title>Re: HELP!  Merging results from a search into a bar chart</title>
      <link>https://community.splunk.com/t5/Splunk-Search/HELP-Merging-results-from-a-search-into-a-bar-chart/m-p/315598#M94473</link>
      <description>&lt;P&gt;Hi Giuseppe,&lt;/P&gt;

&lt;P&gt;That didn't work either.  &lt;/P&gt;</description>
      <pubDate>Mon, 10 Apr 2017 19:05:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/HELP-Merging-results-from-a-search-into-a-bar-chart/m-p/315598#M94473</guid>
      <dc:creator>leomedina</dc:creator>
      <dc:date>2017-04-10T19:05:50Z</dc:date>
    </item>
    <item>
      <title>Re: HELP!  Merging results from a search into a bar chart</title>
      <link>https://community.splunk.com/t5/Splunk-Search/HELP-Merging-results-from-a-search-into-a-bar-chart/m-p/315599#M94474</link>
      <description>&lt;P&gt;Actual script:&lt;/P&gt;

&lt;P&gt;index=tibco host=tus3eaiapppin22 OR host=tus3eaiapppin19 InterfaceName="CustAcctSvcAsync*" OR InterfaceName="CCSubscrAsyncSvc*" OR InterfaceName="CDMSvc*"&lt;BR /&gt;
| eval ("status":"SUCCESS") OR ("ended successfully")="Success"&lt;BR /&gt;&lt;BR /&gt;
| eval (SYS_ERR_27001) OR (SYS_ERR_27002) OR (SYS_ERR_27004) OR (SYS_ERR_27011) OR (SYS_ERR_27012)="Errors" &lt;BR /&gt;
| stats count as Success by InterfaceName, host&lt;BR /&gt;&lt;BR /&gt;
| append [search index=tibco host=tus3eaiapppin22 OR host=tus3eaiapppin19 InterfaceName="CustAcctSvcAsync*" OR InterfaceName="CCSubscrAsyncSvc*" OR InterfaceName="CDMSvc*"    [error] &lt;BR /&gt;
| stats count as Errors by InterfaceName, host ]&lt;BR /&gt;&lt;BR /&gt;
| stats values(Success) as Success, values(Errors) as Errors by InterfaceName, host &lt;BR /&gt;
| fillnull Success, Errors  | addtotals  | eval "Success%"=round((Success/Total)*100,2)&lt;BR /&gt;&lt;BR /&gt;
| table InterfaceName, Success, Errors  | sort - Success%&lt;/P&gt;

&lt;P&gt;I also noticed that the query is only giving me the count of on Success...  If I change the | stats count as Success by InterfaceName, host to | stats count as Errors by InterfaceName, host the same data is then moved to the errors column...  &lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 13:35:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/HELP-Merging-results-from-a-search-into-a-bar-chart/m-p/315599#M94474</guid>
      <dc:creator>leomedina</dc:creator>
      <dc:date>2020-09-29T13:35:38Z</dc:date>
    </item>
    <item>
      <title>Re: HELP!  Merging results from a search into a bar chart</title>
      <link>https://community.splunk.com/t5/Splunk-Search/HELP-Merging-results-from-a-search-into-a-bar-chart/m-p/315600#M94475</link>
      <description>&lt;P&gt;Hi leomedina,&lt;BR /&gt;
your evals are wrong:&lt;BR /&gt;
syntax is &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| eval fieldname=case(fieldname="case1",value1,fieldname="case2",value2,fieldname="case3",value3)
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;(see &lt;A href="http://docs.splunk.com/Documentation/Splunk/6.5.3/SearchReference/Eval"&gt;http://docs.splunk.com/Documentation/Splunk/6.5.3/SearchReference/Eval&lt;/A&gt;)&lt;/P&gt;

&lt;P&gt;so I don't know if the fieldname is InterfaceName and which are the fileds in your conditions, so I use this field, if I'm wrong change fieldname and conditions:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;...
| eval InterfaceName=if(status="SUCCESS" OR status="ended successfully","Success")
| eval InterfaceName=if(InterfaceName="SYS_ERR_27001" OR InterfaceName="SYS_ERR_27002" OR InterfaceName="SYS_ERR_27004" OR InterfaceName="SYS_ERR_27011" OR InterfaceName="SYS_ERR_27012","Errors" )
...
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Bye.&lt;BR /&gt;
Giuseppe&lt;/P&gt;</description>
      <pubDate>Tue, 11 Apr 2017 10:06:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/HELP-Merging-results-from-a-search-into-a-bar-chart/m-p/315600#M94475</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2017-04-11T10:06:39Z</dc:date>
    </item>
    <item>
      <title>Re: HELP!  Merging results from a search into a bar chart</title>
      <link>https://community.splunk.com/t5/Splunk-Search/HELP-Merging-results-from-a-search-into-a-bar-chart/m-p/315601#M94476</link>
      <description>&lt;P&gt;To move from this output:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;InterfaceName Count
data 213
data1 43
data2 125
from 32
from-1 09
tibco5 4
tibco3 7
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;To this output:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;data = 381 from = 41 and tibco = 11
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Do this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| makeresults 
| eval raw="data 213::data1 43::data2 125::from 32::from-1 09::tibco5 4::tibco3 7" 
| makemv delim="::" raw 
| mvexpand raw 
| rex field=raw "^(?&amp;lt;interfaceName&amp;gt;\S+)\s+(?&amp;lt;Count&amp;gt;\S+)$" 
| table interfaceName Count

| rename COMMENT AS "Everything above fakes your event data; everything below is your solution"

| rex field=interfaceName mode=sed "s/[\-\d]+//g" 
| eval _time = now() 
| chart sum(Count) AS Count OVER _time BY interfaceName 
| fields - _time
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sat, 22 Apr 2017 21:59:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/HELP-Merging-results-from-a-search-into-a-bar-chart/m-p/315601#M94476</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2017-04-22T21:59:52Z</dc:date>
    </item>
    <item>
      <title>Re: HELP!  Merging results from a search into a bar chart</title>
      <link>https://community.splunk.com/t5/Splunk-Search/HELP-Merging-results-from-a-search-into-a-bar-chart/m-p/315602#M94477</link>
      <description>&lt;P&gt;Hi!&lt;/P&gt;

&lt;P&gt;Thanks for the great input and help.  But what if I don't want the output data to be fake?&lt;/P&gt;

&lt;P&gt;When I tried the above I wasn't getting any results.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| makeresults 
| eval raw="CustAcctSvcAsync-CustAcctAsyncPA::CCSubscrAsyncSvc-CCSubscriptionSvcPA::CCSubscrAsyncSvc-CCSubscriptionSvcPA-1::CDMSvcAsync-CDMSvcAsyncPA::CDMSvcAsync-1-CDMSvcAsyncPA::CDMSvcAsync-HeathCheck::CDMSvcAsync-1-HeathCheck-1::CDMSvcAsync-RetryPA::CDMSvcAsync-1-RetryPA-1::CDMSvcAsync-CDMSvcAsyncPA-1::CDMSvcAsync-1-CDMSvcAsyncPA-1" 
| makemv delim="::" raw 
| mvexpand raw 
| rex field=raw "^(?&amp;lt;InterfaceName&amp;gt;\S+)\s+(?&amp;lt;Count&amp;gt;\S+)$" 
| table InterfaceName, Count
| rename COMMENT AS "Everything above fakes your event data; everything below is your solution"
| rex field=InterfaceName mode=sed "s/[\-\d]+//g" 
| eval _time = now() 
| chart sum(Count) AS Count OVER _time BY InterfaceName 
| fields - _time
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Ultimately I'd like to merge the corresponding fields together (&lt;EM&gt;i.e.&lt;/EM&gt; CCSubscriptionSvcPA with CCSubscriptionSvcPA -1).&lt;/P&gt;

&lt;P&gt;Not sure why I'm having such a difficult time with this one when it's worked with other things such as host.&lt;/P&gt;

&lt;P&gt;Greatly appreciate the advice.&lt;/P&gt;</description>
      <pubDate>Wed, 03 May 2017 17:32:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/HELP-Merging-results-from-a-search-into-a-bar-chart/m-p/315602#M94477</guid>
      <dc:creator>leomedina</dc:creator>
      <dc:date>2017-05-03T17:32:49Z</dc:date>
    </item>
    <item>
      <title>Re: HELP!  Merging results from a search into a bar chart</title>
      <link>https://community.splunk.com/t5/Splunk-Search/HELP-Merging-results-from-a-search-into-a-bar-chart/m-p/315603#M94478</link>
      <description>&lt;P&gt;You need to replace all the stuff before and including the &lt;CODE&gt;rename&lt;/CODE&gt; line with your base search and then it should work.&lt;/P&gt;</description>
      <pubDate>Wed, 03 May 2017 19:18:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/HELP-Merging-results-from-a-search-into-a-bar-chart/m-p/315603#M94478</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2017-05-03T19:18:58Z</dc:date>
    </item>
    <item>
      <title>Re: HELP!  Merging results from a search into a bar chart</title>
      <link>https://community.splunk.com/t5/Splunk-Search/HELP-Merging-results-from-a-search-into-a-bar-chart/m-p/315604#M94479</link>
      <description>&lt;P&gt;Nope &lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=tibco environment=Dev InterfaceName="CCSubscrAsyncSvc*" OR InterfaceName="CustAcctSvcAsync*" OR InterfaceName="CDMSvcAsync-CDMSvcAsyncPA*" OR InterfaceName="CDMSvcAsync-RetryPA*"
| rex field=InterfaceName mode=sed "s/[\-\d]+//g" 
| eval _time = now() 
| chart sum(Count) AS Count OVER _time BY InterfaceName 
| fields - _time
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I went back 30 Days and it came back with No Results this time...  &lt;/P&gt;</description>
      <pubDate>Wed, 03 May 2017 19:39:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/HELP-Merging-results-from-a-search-into-a-bar-chart/m-p/315604#M94479</guid>
      <dc:creator>leomedina</dc:creator>
      <dc:date>2017-05-03T19:39:45Z</dc:date>
    </item>
    <item>
      <title>Re: HELP!  Merging results from a search into a bar chart</title>
      <link>https://community.splunk.com/t5/Splunk-Search/HELP-Merging-results-from-a-search-into-a-bar-chart/m-p/315605#M94480</link>
      <description>&lt;P&gt;Just add this before your stats commands&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| eval InterfaceName=substr(InterfaceName,1,4)
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;and this after&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| eval InterfaceName=if(InterfaceName="tibc","tibco",InterfaceName)
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 03 May 2017 19:55:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/HELP-Merging-results-from-a-search-into-a-bar-chart/m-p/315605#M94480</guid>
      <dc:creator>DalJeanis</dc:creator>
      <dc:date>2017-05-03T19:55:28Z</dc:date>
    </item>
    <item>
      <title>Re: HELP!  Merging results from a search into a bar chart</title>
      <link>https://community.splunk.com/t5/Splunk-Search/HELP-Merging-results-from-a-search-into-a-bar-chart/m-p/315606#M94481</link>
      <description>&lt;P&gt;Like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| makeresults | eval raw="data 213::data1 43::data2 125::from 32::from-1 09::tibco5 4::tibco3 7"
| makemv delim="::" raw
| mvexpand raw
| rex field=raw "^(?&amp;lt;InterfaceName&amp;gt;\S+)\s+(?&amp;lt;Count&amp;gt;\S+)$"
| fields - _time raw

| rename COMMENT AS "Everything above fakes sample (intermediate) events; everything below is your solution"
| rename COMMENT AS "YOUR BASE SEARCH GOES HERE"

| rex field=InterfaceName mode=sed "s/[\d-]*$//"
| stats sum(Count) AS Count BY InterfaceName
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 12 May 2017 04:53:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/HELP-Merging-results-from-a-search-into-a-bar-chart/m-p/315606#M94481</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2017-05-12T04:53:18Z</dc:date>
    </item>
  </channel>
</rss>

