<?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 lookup in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/splunk-lookup/m-p/685402#M233864</link>
    <description>&lt;P&gt;I cannot understand why you say you are not getting a "table". &amp;nbsp;Using the lookup sample you gave and the two code samples&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/6367"&gt;@bowesmana&lt;/a&gt;&amp;nbsp;gave, these are results from my instance&lt;/P&gt;&lt;P&gt;1. Transpose alone&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="transpose.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/30554i0F2732A2AD8D404B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="transpose.png" alt="transpose.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;2. Transpose + foreach&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="transpose+foreach.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/30555i6895B2C58FF5EC23/image-size/medium?v=v2&amp;amp;px=400" role="button" title="transpose+foreach.png" alt="transpose+foreach.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Both are just like table. &amp;nbsp;Are they not?&lt;/P&gt;</description>
    <pubDate>Thu, 25 Apr 2024 07:29:56 GMT</pubDate>
    <dc:creator>yuanliu</dc:creator>
    <dc:date>2024-04-25T07:29:56Z</dc:date>
    <item>
      <title>splunk lookup</title>
      <link>https://community.splunk.com/t5/Splunk-Search/splunk-lookup/m-p/685251#M233820</link>
      <description>&lt;P&gt;I want to show lookup file content horizontally.&lt;BR /&gt;&lt;BR /&gt;eg:-&lt;BR /&gt;rather than this&lt;BR /&gt;&lt;BR /&gt;panels&lt;BR /&gt;a&lt;BR /&gt;b&lt;BR /&gt;c&lt;BR /&gt;&lt;BR /&gt;I want&lt;BR /&gt;&lt;BR /&gt;panels a b c&amp;nbsp;&amp;nbsp;&amp;nbsp; OR&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; a b c&lt;/P&gt;</description>
      <pubDate>Wed, 24 Apr 2024 06:58:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/splunk-lookup/m-p/685251#M233820</guid>
      <dc:creator>Siddharthnegi</dc:creator>
      <dc:date>2024-04-24T06:58:05Z</dc:date>
    </item>
    <item>
      <title>Re: splunk lookup</title>
      <link>https://community.splunk.com/t5/Splunk-Search/splunk-lookup/m-p/685253#M233821</link>
      <description>&lt;P&gt;Try this&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| inputlookup your_lookup.csv
| stats values(panels) as panels
| eval panels=mvjoin(panels, " ")&lt;/LI-CODE&gt;</description>
      <pubDate>Wed, 24 Apr 2024 07:08:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/splunk-lookup/m-p/685253#M233821</guid>
      <dc:creator>bowesmana</dc:creator>
      <dc:date>2024-04-24T07:08:09Z</dc:date>
    </item>
    <item>
      <title>Re: splunk lookup</title>
      <link>https://community.splunk.com/t5/Splunk-Search/splunk-lookup/m-p/685254#M233822</link>
      <description>&lt;P&gt;Thanks for the quick response&amp;nbsp; i want it horizontally which it is showing thanks to you , but i want to display all the content in a table can we do that&lt;/P&gt;</description>
      <pubDate>Wed, 24 Apr 2024 07:22:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/splunk-lookup/m-p/685254#M233822</guid>
      <dc:creator>Siddharthnegi</dc:creator>
      <dc:date>2024-04-24T07:22:58Z</dc:date>
    </item>
    <item>
      <title>Re: splunk lookup</title>
      <link>https://community.splunk.com/t5/Splunk-Search/splunk-lookup/m-p/685256#M233824</link>
      <description>&lt;P&gt;You can do this&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| inputlookup panels.csv
| transpose 0&lt;/LI-CODE&gt;&lt;P&gt;what do you want the column headings to be?&lt;/P&gt;&lt;P&gt;That will give you columns called row 1, row 2, row 3 and so on with the values found.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 24 Apr 2024 07:33:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/splunk-lookup/m-p/685256#M233824</guid>
      <dc:creator>bowesmana</dc:creator>
      <dc:date>2024-04-24T07:33:50Z</dc:date>
    </item>
    <item>
      <title>Re: splunk lookup</title>
      <link>https://community.splunk.com/t5/Splunk-Search/splunk-lookup/m-p/685257#M233825</link>
      <description>&lt;P&gt;You can also add this on the end of that previous post&lt;/P&gt;&lt;P&gt;which will make the column name the value of the panel and the value of the column=1&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| foreach row* [ eval {&amp;lt;&amp;lt;FIELD&amp;gt;&amp;gt;}=1 ]
| fields - row*&lt;/LI-CODE&gt;</description>
      <pubDate>Wed, 24 Apr 2024 07:35:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/splunk-lookup/m-p/685257#M233825</guid>
      <dc:creator>bowesmana</dc:creator>
      <dc:date>2024-04-24T07:35:59Z</dc:date>
    </item>
    <item>
      <title>Re: splunk lookup</title>
      <link>https://community.splunk.com/t5/Splunk-Search/splunk-lookup/m-p/685259#M233826</link>
      <description>&lt;P&gt;is there table virualization in splunk&lt;/P&gt;</description>
      <pubDate>Wed, 24 Apr 2024 07:41:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/splunk-lookup/m-p/685259#M233826</guid>
      <dc:creator>Siddharthnegi</dc:creator>
      <dc:date>2024-04-24T07:41:13Z</dc:date>
    </item>
    <item>
      <title>Re: splunk lookup</title>
      <link>https://community.splunk.com/t5/Splunk-Search/splunk-lookup/m-p/685260#M233827</link>
      <description>&lt;P&gt;the result coming is&lt;BR /&gt;&lt;BR /&gt;Panels&lt;BR /&gt;Blacklisted Software Exceptions Clients missing critical updates Clients with blacklisted Software Clients with old Defender patterns Critical severity vulnerabilities Defender enrollment status High severity vulnerabilities Local virtual machines Outdated operating systems - Endpoint Outdated operating systems - Unknown Outdated operation systems - Server Servers with blacklisted Software Systems not found in patch management database Total Installed blacklisted Software Vulnerabilities solved&lt;BR /&gt;&lt;BR /&gt;but I want all the result&amp;nbsp; in different section of table&lt;/P&gt;</description>
      <pubDate>Wed, 24 Apr 2024 07:44:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/splunk-lookup/m-p/685260#M233827</guid>
      <dc:creator>Siddharthnegi</dc:creator>
      <dc:date>2024-04-24T07:44:56Z</dc:date>
    </item>
    <item>
      <title>Re: splunk lookup</title>
      <link>https://community.splunk.com/t5/Splunk-Search/splunk-lookup/m-p/685274#M233829</link>
      <description>&lt;P&gt;There is a table visualisation in Splunk and when you run that command you are getting a table visualisation.&lt;/P&gt;&lt;P&gt;Perhaps you can describe your data better, because you are clearly looking for something different than just panels a b c.&lt;/P&gt;&lt;P&gt;Your post describing this&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;Panels&lt;/STRONG&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;STRONG&gt;Blacklisted Software Exceptions Clients missing critical updates Clients with blacklisted Software Clients with old Defender patterns Critical severity vulnerabilities Defender enrollment status High severity vulnerabilities Local virtual machines Outdated operating systems - Endpoint Outdated operating systems - Unknown Outdated operation systems - Server Servers with blacklisted Software Systems not found in patch management database Total Installed blacklisted Software Vulnerabilities solved&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;doesn't actually tell me anything useful - can you describe your lookup data, what it contains and give a better description of how you want the data to look in your table.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 24 Apr 2024 09:14:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/splunk-lookup/m-p/685274#M233829</guid>
      <dc:creator>bowesmana</dc:creator>
      <dc:date>2024-04-24T09:14:30Z</dc:date>
    </item>
    <item>
      <title>Re: splunk lookup</title>
      <link>https://community.splunk.com/t5/Splunk-Search/splunk-lookup/m-p/685282#M233830</link>
      <description>&lt;P&gt;yeah sure&lt;BR /&gt;i have a lookup called panels.csv ,&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Panels&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Critical severity vulnerabilities&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;High severity vulnerabilities&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Vulnerabilities solved&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Local virtual machines&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Outdated operation systems - Server&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Outdated operating systems - Endpoint&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Outdated operating systems - Unknown&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Defender enrollment status&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Clients with old Defender patterns&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Systems not found in patch management database&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Clients missing critical updates&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Servers with blacklisted Software&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Clients with blacklisted Software&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Total Installed blacklisted Software&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Blacklisted Software Exceptions&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;BR /&gt;i want to display them horizontally , which i was using your given search , but the result is coming in this pattern&lt;BR /&gt;&lt;BR /&gt;Blacklisted Software Exceptions Clients missing critical updates Clients with blacklisted Software Clients with old Defender patterns Critical severity vulnerabilities Defender enrollment status High severity vulnerabilities Local virtual machines Outdated operating systems - Endpoint Outdated operating systems - Unknown Outdated operation systems - Server Servers with blacklisted Software Systems not found in patch management database Total Installed blacklisted Software Vulnerabilities solved&lt;BR /&gt;&lt;BR /&gt;i want to display it like this but want to have sections of each content just like table&lt;/P&gt;</description>
      <pubDate>Wed, 24 Apr 2024 09:23:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/splunk-lookup/m-p/685282#M233830</guid>
      <dc:creator>Siddharthnegi</dc:creator>
      <dc:date>2024-04-24T09:23:56Z</dc:date>
    </item>
    <item>
      <title>Re: splunk lookup</title>
      <link>https://community.splunk.com/t5/Splunk-Search/splunk-lookup/m-p/685402#M233864</link>
      <description>&lt;P&gt;I cannot understand why you say you are not getting a "table". &amp;nbsp;Using the lookup sample you gave and the two code samples&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/6367"&gt;@bowesmana&lt;/a&gt;&amp;nbsp;gave, these are results from my instance&lt;/P&gt;&lt;P&gt;1. Transpose alone&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="transpose.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/30554i0F2732A2AD8D404B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="transpose.png" alt="transpose.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;2. Transpose + foreach&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="transpose+foreach.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/30555i6895B2C58FF5EC23/image-size/medium?v=v2&amp;amp;px=400" role="button" title="transpose+foreach.png" alt="transpose+foreach.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Both are just like table. &amp;nbsp;Are they not?&lt;/P&gt;</description>
      <pubDate>Thu, 25 Apr 2024 07:29:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/splunk-lookup/m-p/685402#M233864</guid>
      <dc:creator>yuanliu</dc:creator>
      <dc:date>2024-04-25T07:29:56Z</dc:date>
    </item>
    <item>
      <title>Re: splunk lookup</title>
      <link>https://community.splunk.com/t5/Splunk-Search/splunk-lookup/m-p/685532#M233909</link>
      <description>&lt;P&gt;As&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/33901"&gt;@yuanliu&lt;/a&gt;&amp;nbsp;says, my queries give you a table - if you are indicating the table does not come back in the order the panels are defined in the CSV, that's unfortunately a feature of Splunk.&lt;/P&gt;&lt;P&gt;You can add this final line to order the columns as per the CSV&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| fields [ | inputlookup panels.csv | eval Panels="\"".Panels."\"" | stats list(Panels) as Panels | return $Panels ]&lt;/LI-CODE&gt;</description>
      <pubDate>Thu, 25 Apr 2024 23:30:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/splunk-lookup/m-p/685532#M233909</guid>
      <dc:creator>bowesmana</dc:creator>
      <dc:date>2024-04-25T23:30:54Z</dc:date>
    </item>
  </channel>
</rss>

