<?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: Splunk Query Help! in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Splunk-Query-Help/m-p/694632#M236244</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/243022"&gt;@kc_prane&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;you shared only a part of your search, so I cannot check it.&lt;/P&gt;&lt;P&gt;anyway, does it solves your requirement?&lt;/P&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
    <pubDate>Tue, 30 Jul 2024 06:02:00 GMT</pubDate>
    <dc:creator>gcusello</dc:creator>
    <dc:date>2024-07-30T06:02:00Z</dc:date>
    <item>
      <title>Splunk Query Help!</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Splunk-Query-Help/m-p/694572#M236235</link>
      <description>&lt;P&gt;I Have&amp;nbsp; Service_names&amp;nbsp; (A, B ,C ,D, E,&amp;nbsp; F, G, H, I J, K, L , M)&amp;nbsp; but want&amp;nbsp; (C ,D, E,&amp;nbsp; F, G, H, I J, K, L , M ) services_names renamed as "Other_Services"&amp;nbsp; | Stats by&amp;nbsp;&amp;nbsp;services_names&amp;nbsp; | table&amp;nbsp;services_names&amp;nbsp; time_Taken&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;</description>
      <pubDate>Mon, 29 Jul 2024 16:03:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Splunk-Query-Help/m-p/694572#M236235</guid>
      <dc:creator>kc_prane</dc:creator>
      <dc:date>2024-07-29T16:03:04Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Query Help!</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Splunk-Query-Help/m-p/694573#M236236</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/243022"&gt;@kc_prane&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;ony one question: what's time_Token?&lt;/P&gt;&lt;P&gt;if it's a field, please try something like this:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;&amp;lt;your_search
| eval services_names=if(services_names IN ("A", "B"), service_name, "Other_Services")
| stats values(time_Token) AS time_Token BY  services_names
| table services_names  time_Taken&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;otherwise, please explain what's time_Token, or apply my approach to your search.&lt;/P&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Mon, 29 Jul 2024 16:07:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Splunk-Query-Help/m-p/694573#M236236</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2024-07-29T16:07:41Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Query Help!</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Splunk-Query-Help/m-p/694574#M236237</link>
      <description>&lt;P&gt;Hi gcusello, Thanks for the reply,&amp;nbsp; Iam looking to get results like below.&lt;/P&gt;
&lt;P&gt;my base search&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;| rex "^[^=\n]*=(?P&amp;lt;ServiceName&amp;gt;[^,]+)"
| rex "TimeMS\s\=\s(?&amp;lt;Trans_Time&amp;gt;\d+)"

&lt;/LI-CODE&gt;
&lt;P&gt;Results&lt;/P&gt;
&lt;TABLE width="581"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD width="208"&gt;ServiceName&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/TD&gt;
&lt;TD width="228"&gt;Trans_Time&lt;/TD&gt;
&lt;TD width="145"&gt;Count&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;A&lt;/TD&gt;
&lt;TD&gt;60&lt;/TD&gt;
&lt;TD&gt;1111&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;B&lt;/TD&gt;
&lt;TD&gt;40&lt;/TD&gt;
&lt;TD&gt;1234&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;Other_Services( C , D, E, F,G,H)&lt;/TD&gt;
&lt;TD&gt;25&lt;/TD&gt;
&lt;TD&gt;1234567&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;</description>
      <pubDate>Mon, 29 Jul 2024 16:59:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Splunk-Query-Help/m-p/694574#M236237</guid>
      <dc:creator>kc_prane</dc:creator>
      <dc:date>2024-07-29T16:59:59Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Query Help!</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Splunk-Query-Help/m-p/694632#M236244</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/243022"&gt;@kc_prane&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;you shared only a part of your search, so I cannot check it.&lt;/P&gt;&lt;P&gt;anyway, does it solves your requirement?&lt;/P&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Tue, 30 Jul 2024 06:02:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Splunk-Query-Help/m-p/694632#M236244</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2024-07-30T06:02:00Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Query Help!</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Splunk-Query-Help/m-p/694704#M236275</link>
      <description>&lt;P&gt;Thanks for the help! @g&lt;SPAN&gt;cusello. I fixed my rex Iam seeing results now.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 30 Jul 2024 15:52:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Splunk-Query-Help/m-p/694704#M236275</guid>
      <dc:creator>kc_prane</dc:creator>
      <dc:date>2024-07-30T15:52:25Z</dc:date>
    </item>
  </channel>
</rss>

