<?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: Need help creating a table from column type logs in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/Need-help-creating-a-table-from-column-type-logs/m-p/604248#M49642</link>
    <description>&lt;P&gt;Thank you&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/213957"&gt;@richgalloway&lt;/a&gt;&amp;nbsp;...!!&lt;/P&gt;&lt;P&gt;The command multikv helped me break the events per line-wise. However when I used table command to create a table for dashboard it is not what I desired.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I used this query "****&amp;nbsp;| multikv forceheader=1 | table ServerA,ServerB,ServerC" and this gave the table as:&lt;/P&gt;&lt;TABLE border="1" width="100%"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="25%" height="25px"&gt;Server&lt;/TD&gt;&lt;TD width="25%" height="25px"&gt;ServerA&lt;/TD&gt;&lt;TD width="25%" height="25px"&gt;ServerB&lt;/TD&gt;&lt;TD width="25%" height="25px"&gt;ServerC&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="25%" height="47px"&gt;Application&lt;/TD&gt;&lt;TD width="25%" height="47px"&gt;ADFILES41-6.2-4&lt;/TD&gt;&lt;TD width="25%" height="47px"&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD width="25%" height="47px"&gt;not_available ADFILES41-6.2-4&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="25%" height="47px"&gt;Application&lt;/TD&gt;&lt;TD width="25%" height="47px"&gt;ADM41-5.10.1-4&lt;/TD&gt;&lt;TD width="25%" height="47px"&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD width="25%" height="47px"&gt;ADM41-5.10.1-4 ADM41-5.10.1-4&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="25%" height="69px"&gt;Application&lt;/TD&gt;&lt;TD width="25%" height="69px"&gt;ADM41HF-5.10.1HF004-4&lt;/TD&gt;&lt;TD width="25%" height="69px"&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD width="25%" height="69px"&gt;ADM41HF-5.10.1HF004-4 ADM41HF-5.10.1HF004-4&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="25%" height="47px"&gt;Application&lt;/TD&gt;&lt;TD width="25%" height="47px"&gt;ADM42-5.11-4&lt;/TD&gt;&lt;TD width="25%" height="47px"&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD width="25%" height="47px"&gt;ADM42-5.11-4 ADM42-5.11-4&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="25%" height="47px"&gt;Application&lt;/TD&gt;&lt;TD width="25%" height="47px"&gt;ADM42HF-5.11HF03-4&lt;/TD&gt;&lt;TD width="25%" height="47px"&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD width="25%" height="47px"&gt;ADM42HF-5.11HF03-4 not_available&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="25%" height="47px"&gt;Application&lt;/TD&gt;&lt;TD width="25%" height="47px"&gt;TRA42-5.11-4&lt;/TD&gt;&lt;TD width="25%" height="47px"&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD width="25%" height="47px"&gt;TRA42-5.11-4 not_available&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="25%" height="25px"&gt;Application&lt;/TD&gt;&lt;TD width="25%" height="25px"&gt;not_available&lt;/TD&gt;&lt;TD width="25%" height="25px"&gt;ADFILES42-6.2-4&lt;/TD&gt;&lt;TD width="25%" height="25px"&gt;not_available&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="25%" height="25px"&gt;Application&lt;/TD&gt;&lt;TD width="25%" height="25px"&gt;not_available&lt;/TD&gt;&lt;TD width="25%" height="25px"&gt;not_available&lt;/TD&gt;&lt;TD width="25%" height="25px"&gt;TRA42-5.13-4&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;I am not able to understand what went wrong here in the query, as the logs are equally spaced and are in a tabular format.&lt;/P&gt;&lt;P&gt;Please help me identify what might have gone wrong or help me modify the query to get the desired output.&lt;/P&gt;&lt;P&gt;Any help on this is highly appreciated.&lt;/P&gt;&lt;P&gt;Thank You All..!!&lt;/P&gt;</description>
    <pubDate>Sat, 02 Jul 2022 16:56:09 GMT</pubDate>
    <dc:creator>Mrig342</dc:creator>
    <dc:date>2022-07-02T16:56:09Z</dc:date>
    <item>
      <title>Need help creating a table from column type logs</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Need-help-creating-a-table-from-column-type-logs/m-p/603942#M49616</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;I am trying to create a table out of the log below:&lt;/P&gt;&lt;P&gt;log:&lt;/P&gt;&lt;P&gt;ServerA ServerB ServerC&lt;BR /&gt;ADFILES41-6.2-4 not_available ADFILES41-6.2-4.2&lt;BR /&gt;ADM41-5.10.1-4 ADM41-5.10.1-4 ADM41-5.10.1-4&lt;BR /&gt;ADM41HF-5.10.1HF004-4 ADM41HF-5.10.1HF004-4 ADM41HF-5.10.1HF004-4&lt;BR /&gt;ADM42-5.11-4 ADM42-5.11-4 ADM42-5.11-4&lt;BR /&gt;ADM42HF-5.11HF03-4 ADM42HF-5.11HF03-4 not_available&lt;BR /&gt;TRA42-5.11-4 TRA42-5.11-4 not_available&lt;BR /&gt;not_available ADFILES42-6.2-4 not_available&lt;BR /&gt;not_available not_available TRA42-5.13-4&lt;/P&gt;&lt;P&gt;Here you can see that the 1st line gives the server names. 2nd, 3rd,4th and so on lines are applications available in the server.&lt;/P&gt;&lt;P&gt;For eg. From 2nd line you can see that the application&amp;nbsp;ADFILES41-6.2-4 is available in A&amp;amp;C but not in B. Similarly from 9th line you can see that the application&amp;nbsp;TRA42-5.13-4 is available in C but not in A&amp;amp;B.&lt;/P&gt;&lt;P&gt;So the requirement is to create a table in the below way to show if any servers is missing any application.&lt;/P&gt;&lt;TABLE border="1" width="100%"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="25%"&gt;Server&lt;/TD&gt;&lt;TD width="25%"&gt;ServerA&lt;/TD&gt;&lt;TD width="25%"&gt;ServerB&lt;/TD&gt;&lt;TD width="25%"&gt;ServerC&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="25%"&gt;Application&lt;/TD&gt;&lt;TD width="25%"&gt;ADFILES41-6.2-4&lt;/TD&gt;&lt;TD width="25%"&gt;not_available&lt;/TD&gt;&lt;TD width="25%"&gt;ADFILES41-6.2-4&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="25%"&gt;Application&lt;/TD&gt;&lt;TD width="25%"&gt;ADM41-5.10.1-4&lt;/TD&gt;&lt;TD width="25%"&gt;ADM41-5.10.1-4&lt;/TD&gt;&lt;TD width="25%"&gt;ADM41-5.10.1-4&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="25%"&gt;Application&lt;/TD&gt;&lt;TD width="25%"&gt;ADM41HF-5.10.1HF004-4&lt;/TD&gt;&lt;TD width="25%"&gt;ADM41HF-5.10.1HF004-4&lt;/TD&gt;&lt;TD width="25%"&gt;ADM41HF-5.10.1HF004-4&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="25%"&gt;Application&lt;/TD&gt;&lt;TD width="25%"&gt;ADM42-5.11-4&lt;/TD&gt;&lt;TD width="25%"&gt;ADM42-5.11-4&lt;/TD&gt;&lt;TD width="25%"&gt;ADM42-5.11-4&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="25%"&gt;Application&lt;/TD&gt;&lt;TD width="25%"&gt;ADM42HF-5.11HF03-4&lt;/TD&gt;&lt;TD width="25%"&gt;ADM42HF-5.11HF03-4&lt;/TD&gt;&lt;TD width="25%"&gt;not_available&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="25%"&gt;Application&lt;/TD&gt;&lt;TD width="25%"&gt;TRA42-5.11-4&lt;/TD&gt;&lt;TD width="25%"&gt;TRA42-5.11-4&lt;/TD&gt;&lt;TD width="25%"&gt;not_available&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="25%"&gt;Application&lt;/TD&gt;&lt;TD width="25%"&gt;not_available&lt;/TD&gt;&lt;TD width="25%"&gt;ADFILES42-6.2-4&lt;/TD&gt;&lt;TD width="25%"&gt;not_available&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="25%"&gt;Application&lt;/TD&gt;&lt;TD width="25%"&gt;not_available&lt;/TD&gt;&lt;TD width="25%"&gt;not_available&lt;/TD&gt;&lt;TD width="25%"&gt;TRA42-5.13-4&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please help me to create a query to get the table in the desired manner.&lt;/P&gt;&lt;P&gt;Any help on the problem would be highly appreciated.&lt;/P&gt;&lt;P&gt;Thank you All..!!&lt;/P&gt;</description>
      <pubDate>Thu, 30 Jun 2022 10:10:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Need-help-creating-a-table-from-column-type-logs/m-p/603942#M49616</guid>
      <dc:creator>Mrig342</dc:creator>
      <dc:date>2022-06-30T10:10:31Z</dc:date>
    </item>
    <item>
      <title>Re: Need help creating a table from column type logs</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Need-help-creating-a-table-from-column-type-logs/m-p/603960#M49618</link>
      <description>&lt;P&gt;Check out the &lt;FONT face="courier new,courier"&gt;multikv&lt;/FONT&gt; command.&amp;nbsp; It helps to ingest table-formatted data like that.&lt;/P&gt;</description>
      <pubDate>Thu, 30 Jun 2022 12:30:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Need-help-creating-a-table-from-column-type-logs/m-p/603960#M49618</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2022-06-30T12:30:59Z</dc:date>
    </item>
    <item>
      <title>Re: Need help creating a table from column type logs</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Need-help-creating-a-table-from-column-type-logs/m-p/604248#M49642</link>
      <description>&lt;P&gt;Thank you&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/213957"&gt;@richgalloway&lt;/a&gt;&amp;nbsp;...!!&lt;/P&gt;&lt;P&gt;The command multikv helped me break the events per line-wise. However when I used table command to create a table for dashboard it is not what I desired.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I used this query "****&amp;nbsp;| multikv forceheader=1 | table ServerA,ServerB,ServerC" and this gave the table as:&lt;/P&gt;&lt;TABLE border="1" width="100%"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="25%" height="25px"&gt;Server&lt;/TD&gt;&lt;TD width="25%" height="25px"&gt;ServerA&lt;/TD&gt;&lt;TD width="25%" height="25px"&gt;ServerB&lt;/TD&gt;&lt;TD width="25%" height="25px"&gt;ServerC&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="25%" height="47px"&gt;Application&lt;/TD&gt;&lt;TD width="25%" height="47px"&gt;ADFILES41-6.2-4&lt;/TD&gt;&lt;TD width="25%" height="47px"&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD width="25%" height="47px"&gt;not_available ADFILES41-6.2-4&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="25%" height="47px"&gt;Application&lt;/TD&gt;&lt;TD width="25%" height="47px"&gt;ADM41-5.10.1-4&lt;/TD&gt;&lt;TD width="25%" height="47px"&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD width="25%" height="47px"&gt;ADM41-5.10.1-4 ADM41-5.10.1-4&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="25%" height="69px"&gt;Application&lt;/TD&gt;&lt;TD width="25%" height="69px"&gt;ADM41HF-5.10.1HF004-4&lt;/TD&gt;&lt;TD width="25%" height="69px"&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD width="25%" height="69px"&gt;ADM41HF-5.10.1HF004-4 ADM41HF-5.10.1HF004-4&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="25%" height="47px"&gt;Application&lt;/TD&gt;&lt;TD width="25%" height="47px"&gt;ADM42-5.11-4&lt;/TD&gt;&lt;TD width="25%" height="47px"&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD width="25%" height="47px"&gt;ADM42-5.11-4 ADM42-5.11-4&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="25%" height="47px"&gt;Application&lt;/TD&gt;&lt;TD width="25%" height="47px"&gt;ADM42HF-5.11HF03-4&lt;/TD&gt;&lt;TD width="25%" height="47px"&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD width="25%" height="47px"&gt;ADM42HF-5.11HF03-4 not_available&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="25%" height="47px"&gt;Application&lt;/TD&gt;&lt;TD width="25%" height="47px"&gt;TRA42-5.11-4&lt;/TD&gt;&lt;TD width="25%" height="47px"&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD width="25%" height="47px"&gt;TRA42-5.11-4 not_available&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="25%" height="25px"&gt;Application&lt;/TD&gt;&lt;TD width="25%" height="25px"&gt;not_available&lt;/TD&gt;&lt;TD width="25%" height="25px"&gt;ADFILES42-6.2-4&lt;/TD&gt;&lt;TD width="25%" height="25px"&gt;not_available&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="25%" height="25px"&gt;Application&lt;/TD&gt;&lt;TD width="25%" height="25px"&gt;not_available&lt;/TD&gt;&lt;TD width="25%" height="25px"&gt;not_available&lt;/TD&gt;&lt;TD width="25%" height="25px"&gt;TRA42-5.13-4&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;I am not able to understand what went wrong here in the query, as the logs are equally spaced and are in a tabular format.&lt;/P&gt;&lt;P&gt;Please help me identify what might have gone wrong or help me modify the query to get the desired output.&lt;/P&gt;&lt;P&gt;Any help on this is highly appreciated.&lt;/P&gt;&lt;P&gt;Thank You All..!!&lt;/P&gt;</description>
      <pubDate>Sat, 02 Jul 2022 16:56:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Need-help-creating-a-table-from-column-type-logs/m-p/604248#M49642</guid>
      <dc:creator>Mrig342</dc:creator>
      <dc:date>2022-07-02T16:56:09Z</dc:date>
    </item>
    <item>
      <title>Re: Need help creating a table from column type logs</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Need-help-creating-a-table-from-column-type-logs/m-p/604256#M49644</link>
      <description>&lt;P&gt;Double-check the spacing of the columns.&amp;nbsp; The &lt;FONT face="courier new,courier"&gt;multikv&lt;/FONT&gt; command is thrown off by uneven columns.&lt;/P&gt;&lt;P&gt;This worked for me:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| makeresults 
| eval _raw="ServerA              ServerB                ServerC
ADFILES41-6.2-4       not_available         ADFILES41-6.2-4.2
ADM41-5.10.1-4        ADM41-5.10.1-4        ADM41-5.10.1-4
ADM41HF-5.10.1HF004-4 ADM41HF-5.10.1HF004-4 ADM41HF-5.10.1HF004-4
ADM42-5.11-4          ADM42-5.11-4          ADM42-5.11-4
ADM42HF-5.11HF03-4    ADM42HF-5.11HF03-4    not_available
TRA42-5.11-4          TRA42-5.11-4          not_available
not_available         ADFILES42-6.2-4       not_available
not_available         not_available         TRA42-5.13-4"
| multikv forceheader=1
| table ServerA ServerB ServerC&lt;/LI-CODE&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="richgalloway_0-1656794193759.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/20379i7D3DA946994126CA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="richgalloway_0-1656794193759.png" alt="richgalloway_0-1656794193759.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 02 Jul 2022 20:36:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Need-help-creating-a-table-from-column-type-logs/m-p/604256#M49644</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2022-07-02T20:36:43Z</dc:date>
    </item>
    <item>
      <title>Re: Need help creating a table from column type logs</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Need-help-creating-a-table-from-column-type-logs/m-p/604475#M49662</link>
      <description>&lt;P&gt;Thank you&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/213957"&gt;@richgalloway&lt;/a&gt;&amp;nbsp;for your insights.&lt;/P&gt;&lt;P&gt;I checked for the spaces between the values and they were equally spaced. Still couldn't get the expected result.&lt;/P&gt;&lt;P&gt;Then I replaced the normal spaces between the values with tab spaces in the logs. And that gave me the result in the expected manner.&lt;/P&gt;</description>
      <pubDate>Tue, 05 Jul 2022 16:11:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Need-help-creating-a-table-from-column-type-logs/m-p/604475#M49662</guid>
      <dc:creator>Mrig342</dc:creator>
      <dc:date>2022-07-05T16:11:56Z</dc:date>
    </item>
  </channel>
</rss>

