<?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 Combine column values and search in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Combine-column-values-and-search/m-p/563886#M196418</link>
    <description>&lt;P&gt;I have a dynamic table extracted from a search result. Example Table1 that I can get:&lt;/P&gt;&lt;TABLE border="1" width="84.12903225806451%"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="32.96774193548387%"&gt;&lt;STRONG&gt;Error&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD width="20.741935483870968%"&gt;&lt;STRONG&gt;Code&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD width="30.419354838709673%"&gt;&lt;STRONG&gt;Computer&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="32.96774193548387%"&gt;Internet Connection&lt;/TD&gt;&lt;TD width="20.741935483870968%"&gt;100&lt;/TD&gt;&lt;TD width="30.419354838709673%"&gt;CompA&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="32.96774193548387%"&gt;Blue Screen&lt;/TD&gt;&lt;TD width="20.741935483870968%"&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD width="30.419354838709673%"&gt;CompB&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="32.96774193548387%"&gt;App Crash&lt;/TD&gt;&lt;TD width="20.741935483870968%"&gt;5&lt;/TD&gt;&lt;TD width="30.419354838709673%"&gt;CompC&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;My desired result:&lt;/STRONG&gt;&lt;BR /&gt;For each row in the Table1, I would like to join the columns and make multisearch as below.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index=computer OR index=application (Internet Connection AND 100 AND CompA) | tail 1
index=computer OR index=application (Blue Screen AND CompB) | tail 1
index=computer OR index=application (App Crash AND 5 AND CompC) | tail 1 &lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I didn't use format in this case because it would end up like..&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index=computer OR index=application ( (Internet Connection AND 100 AND CompA) OR (Blue SCreen AND CompB) OR (App Crash AND 5 AND CompC) )&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and returns many result instead of only 3 results.&lt;/P&gt;&lt;P&gt;Is the desired result possible to achieve?&lt;/P&gt;</description>
    <pubDate>Fri, 20 Aug 2021 09:33:31 GMT</pubDate>
    <dc:creator>chiilii</dc:creator>
    <dc:date>2021-08-20T09:33:31Z</dc:date>
    <item>
      <title>Combine column values and search</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Combine-column-values-and-search/m-p/563886#M196418</link>
      <description>&lt;P&gt;I have a dynamic table extracted from a search result. Example Table1 that I can get:&lt;/P&gt;&lt;TABLE border="1" width="84.12903225806451%"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="32.96774193548387%"&gt;&lt;STRONG&gt;Error&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD width="20.741935483870968%"&gt;&lt;STRONG&gt;Code&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD width="30.419354838709673%"&gt;&lt;STRONG&gt;Computer&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="32.96774193548387%"&gt;Internet Connection&lt;/TD&gt;&lt;TD width="20.741935483870968%"&gt;100&lt;/TD&gt;&lt;TD width="30.419354838709673%"&gt;CompA&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="32.96774193548387%"&gt;Blue Screen&lt;/TD&gt;&lt;TD width="20.741935483870968%"&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD width="30.419354838709673%"&gt;CompB&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="32.96774193548387%"&gt;App Crash&lt;/TD&gt;&lt;TD width="20.741935483870968%"&gt;5&lt;/TD&gt;&lt;TD width="30.419354838709673%"&gt;CompC&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;My desired result:&lt;/STRONG&gt;&lt;BR /&gt;For each row in the Table1, I would like to join the columns and make multisearch as below.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index=computer OR index=application (Internet Connection AND 100 AND CompA) | tail 1
index=computer OR index=application (Blue Screen AND CompB) | tail 1
index=computer OR index=application (App Crash AND 5 AND CompC) | tail 1 &lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I didn't use format in this case because it would end up like..&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index=computer OR index=application ( (Internet Connection AND 100 AND CompA) OR (Blue SCreen AND CompB) OR (App Crash AND 5 AND CompC) )&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and returns many result instead of only 3 results.&lt;/P&gt;&lt;P&gt;Is the desired result possible to achieve?&lt;/P&gt;</description>
      <pubDate>Fri, 20 Aug 2021 09:33:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Combine-column-values-and-search/m-p/563886#M196418</guid>
      <dc:creator>chiilii</dc:creator>
      <dc:date>2021-08-20T09:33:31Z</dc:date>
    </item>
    <item>
      <title>Re: Combine column values and search</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Combine-column-values-and-search/m-p/563889#M196419</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/60697"&gt;@chiilii&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You have to extract fields required Error, code and computer for _raw events first and apply | table command should show you&amp;nbsp; the output required.&lt;/P&gt;&lt;P&gt;How is your original events looks like?&lt;/P&gt;</description>
      <pubDate>Thu, 19 Aug 2021 04:41:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Combine-column-values-and-search/m-p/563889#M196419</guid>
      <dc:creator>venkatasri</dc:creator>
      <dc:date>2021-08-19T04:41:36Z</dc:date>
    </item>
    <item>
      <title>Re: Combine column values and search</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Combine-column-values-and-search/m-p/563895#M196423</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/163730"&gt;@venkatasri&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for looking at this. I am able to get the table but not able to break the table into this:&lt;/P&gt;&lt;PRE&gt;index=computer OR index=application (Internet Connection AND 100 AND CompA) | tail 1
index=computer OR index=application (Blue Screen AND CompB) | tail 1
index=computer OR index=application (App Crash AND 5 AND CompC) | tail 1&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 20 Aug 2021 09:31:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Combine-column-values-and-search/m-p/563895#M196423</guid>
      <dc:creator>chiilii</dc:creator>
      <dc:date>2021-08-20T09:31:20Z</dc:date>
    </item>
    <item>
      <title>Re: Combine column values and search</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Combine-column-values-and-search/m-p/563938#M196440</link>
      <description>&lt;P&gt;what you are trying to achieve?&amp;nbsp; | tail=1 is not a valid command.&lt;/P&gt;</description>
      <pubDate>Thu, 19 Aug 2021 11:34:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Combine-column-values-and-search/m-p/563938#M196440</guid>
      <dc:creator>venkatasri</dc:creator>
      <dc:date>2021-08-19T11:34:21Z</dc:date>
    </item>
    <item>
      <title>Re: Combine column values and search</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Combine-column-values-and-search/m-p/564060#M196481</link>
      <description>&lt;P&gt;Sorry have updated the tail and my post too. Hope it is more understandable&lt;/P&gt;</description>
      <pubDate>Fri, 20 Aug 2021 09:31:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Combine-column-values-and-search/m-p/564060#M196481</guid>
      <dc:creator>chiilii</dc:creator>
      <dc:date>2021-08-20T09:31:51Z</dc:date>
    </item>
  </channel>
</rss>

