<?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 combine similar values into one table column in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-combine-similar-values-into-one-table-column/m-p/601863#M209469</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/246886"&gt;@aristidiskantas&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;good for you, see next time!&lt;/P&gt;&lt;P&gt;Ciao and happy splunking&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;&lt;P&gt;P.S.: Karma Points are appreciated ;-&lt;/P&gt;</description>
    <pubDate>Wed, 15 Jun 2022 08:29:09 GMT</pubDate>
    <dc:creator>gcusello</dc:creator>
    <dc:date>2022-06-15T08:29:09Z</dc:date>
    <item>
      <title>How to combine similar values into one table column</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-combine-similar-values-into-one-table-column/m-p/601849#M209463</link>
      <description>&lt;P&gt;Hello everyone,&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I am having two events with different sourcetypes that have &lt;STRONG&gt;similar fields with similar values&lt;/STRONG&gt; however not the same.&lt;BR /&gt;&lt;BR /&gt;I have found a way to combine the &lt;U&gt;fields&lt;/U&gt; by using &lt;STRONG&gt;coalesce&lt;/STRONG&gt;, however I would like to combine the &lt;U&gt;values&lt;/U&gt; as well in order to get a clear result&lt;BR /&gt;&lt;BR /&gt;I am running this search :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index="main" category="Foo" OR sourcetype="foo" 
| iplocation ip_address 
| eval severity_level = coalesce(severity, foo_severity)
| geostats count by severity_level&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;and I am having the following results.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| longitude | latitude | HIGH | High | MEDIUM | Medium | LOW | Low |
|  143.2104 | -33.494  |  39  |  4   |   40   |   30   |  15 |  5  |&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;BR /&gt;And I want to get something like:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| longitude | latitude | HIGH  | MEDIUM | LOW | 
|  143.2104 | -33.494  |  43   |   70   |  20 |&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;BR /&gt;Could you please give a hint? Thank you very much in advance.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 15 Jun 2022 08:04:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-combine-similar-values-into-one-table-column/m-p/601849#M209463</guid>
      <dc:creator>aristidiskantas</dc:creator>
      <dc:date>2022-06-15T08:04:07Z</dc:date>
    </item>
    <item>
      <title>Re: How to combine similar values into one table column</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-combine-similar-values-into-one-table-column/m-p/601852#M209464</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/246886"&gt;@aristidiskantas&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;you have to convert all values in upper or lower case, something like this:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index="main" category="Foo" OR sourcetype="foo" 
| iplocation ip_address 
| eval severity_level = upper(coalesce(severity, foo_severity))
| geostats count by severity_level&lt;/LI-CODE&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Wed, 15 Jun 2022 08:07:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-combine-similar-values-into-one-table-column/m-p/601852#M209464</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2022-06-15T08:07:20Z</dc:date>
    </item>
    <item>
      <title>Re: How to combine similar values into one table column</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-combine-similar-values-into-one-table-column/m-p/601861#M209468</link>
      <description>&lt;P&gt;That worked! Thank you so mush for the input Giuseppe.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Wish you the best,&lt;/P&gt;&lt;P&gt;Aris&lt;/P&gt;</description>
      <pubDate>Wed, 15 Jun 2022 08:27:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-combine-similar-values-into-one-table-column/m-p/601861#M209468</guid>
      <dc:creator>aristidiskantas</dc:creator>
      <dc:date>2022-06-15T08:27:24Z</dc:date>
    </item>
    <item>
      <title>Re: How to combine similar values into one table column</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-combine-similar-values-into-one-table-column/m-p/601863#M209469</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/246886"&gt;@aristidiskantas&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;good for you, see next time!&lt;/P&gt;&lt;P&gt;Ciao and happy splunking&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;&lt;P&gt;P.S.: Karma Points are appreciated ;-&lt;/P&gt;</description>
      <pubDate>Wed, 15 Jun 2022 08:29:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-combine-similar-values-into-one-table-column/m-p/601863#M209469</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2022-06-15T08:29:09Z</dc:date>
    </item>
  </channel>
</rss>

