<?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: Merge numberous data in a field in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Merge-numberous-data-in-a-field/m-p/680534#M232604</link>
    <description>&lt;P&gt;thank you - this hasn't worked .. I'm still getting all 158 problem details although now renamed as problem_classification&amp;nbsp;&lt;/P&gt;&lt;P&gt;but i think i understand that logic and will play around with it.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 13 Mar 2024 12:33:40 GMT</pubDate>
    <dc:creator>PaulaCom</dc:creator>
    <dc:date>2024-03-13T12:33:40Z</dc:date>
    <item>
      <title>Merge numberous data in a field</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Merge-numberous-data-in-a-field/m-p/680505#M232592</link>
      <description>&lt;P&gt;Good Morning&amp;nbsp;&lt;/P&gt;
&lt;P&gt;i have a field that i've called problem_detail in our Helpdesk index. it contains all the types of problems that are logged to us. i would like to only merge those that are associated with email queries together. there are about 15 different ones.&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;index=mmuh_helpdesk sourcetype=mmuh_helpdesk_json
| dedup id
| fillnull value=NULL
| search "problemtype.detailDisplayName"!=*AGRESSO*
| eval problem_detail='problemtype.detailDisplayName'
| eval problem_detail=replace(problem_detail, "&amp;amp;#8226","")
| eval problem_detail=replace(problem_detail, ";","|")
| eval techGroupLevel = 'techGroupLevel.levelName'
| eval techGroupLevel = replace(techGroupLevel, "&amp;amp;nbsp;"," ")
| eval techGroupLevel = replace(techGroupLevel, " ","")
| eval techGroupLevel = replace(techGroupLevel, "Level"," Level")
| eval location_Name = 'location.locationName'
| eval status = 'statustype.statusTypeName'
| eval priority = 'prioritytype.priorityTypeName'
| eval techGroupId = 'techGroupLevel.id'
| eval tech_Name = 'clientTech.displayName'
| stats count by problem_detail&lt;/LI-CODE&gt;
&lt;P&gt;this spl is giving me the full list of 158 problem details and from there i can see around 15 of these relate to email.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is there away i can combine the totals from all the problem_details that contain 'email' together.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;i tried eval and then coalesce but it didnt work ..:(&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;thank you&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 13 Mar 2024 09:47:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Merge-numberous-data-in-a-field/m-p/680505#M232592</guid>
      <dc:creator>PaulaCom</dc:creator>
      <dc:date>2024-03-13T09:47:32Z</dc:date>
    </item>
    <item>
      <title>Re: Merge numberous data in a field</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Merge-numberous-data-in-a-field/m-p/680511#M232594</link>
      <description>&lt;P&gt;Try something like this&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index=mmuh_helpdesk sourcetype=mmuh_helpdesk_json
| dedup id
| fillnull value=NULL
| search "problemtype.detailDisplayName"!=*AGRESSO*
| eval problem_detail='problemtype.detailDisplayName'
| eval problem_detail=replace(problem_detail, "&amp;amp;#8226","")
| eval problem_detail=replace(problem_detail, ";","|")
| eval techGroupLevel = 'techGroupLevel.levelName'
| eval techGroupLevel = replace(techGroupLevel, "&amp;amp;nbsp;"," ")
| eval techGroupLevel = replace(techGroupLevel, " ","")
| eval techGroupLevel = replace(techGroupLevel, "Level"," Level")
| eval location_Name = 'location.locationName'
| eval status = 'statustype.statusTypeName'
| eval priority = 'prioritytype.priorityTypeName'
| eval techGroupId = 'techGroupLevel.id'
| eval tech_Name = 'clientTech.displayName'
| eval problem_classification=if(match(problem_detail,".*email.*"), "email problem", problem_detail)
| stats count by problem_classification&lt;/LI-CODE&gt;</description>
      <pubDate>Wed, 13 Mar 2024 09:36:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Merge-numberous-data-in-a-field/m-p/680511#M232594</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2024-03-13T09:36:07Z</dc:date>
    </item>
    <item>
      <title>Re: Merge numberous data in a field</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Merge-numberous-data-in-a-field/m-p/680534#M232604</link>
      <description>&lt;P&gt;thank you - this hasn't worked .. I'm still getting all 158 problem details although now renamed as problem_classification&amp;nbsp;&lt;/P&gt;&lt;P&gt;but i think i understand that logic and will play around with it.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 13 Mar 2024 12:33:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Merge-numberous-data-in-a-field/m-p/680534#M232604</guid>
      <dc:creator>PaulaCom</dc:creator>
      <dc:date>2024-03-13T12:33:40Z</dc:date>
    </item>
  </channel>
</rss>

