<?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: Generating a table without fields in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/Generating-a-table-without-fields/m-p/677572#M55499</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/264899"&gt;@snobyink&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;in this case, please try this regex instead the previus one:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;^\w+\s+\d+\s+\d+:\d+:\d+\s+(?&amp;lt;host&amp;gt;\w+).*user\s(?&amp;lt;user&amp;gt;\w+)+&lt;/LI-CODE&gt;&lt;P&gt;that you can test at&amp;nbsp;&lt;A href="https://regex101.com/r/bV4B9h/1" target="_blank"&gt;https://regex101.com/r/bV4B9h/1&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
    <pubDate>Wed, 14 Feb 2024 15:11:29 GMT</pubDate>
    <dc:creator>gcusello</dc:creator>
    <dc:date>2024-02-14T15:11:29Z</dc:date>
    <item>
      <title>Generating a table without fields</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Generating-a-table-without-fields/m-p/677494#M55484</link>
      <description>&lt;P&gt;Greetings!&lt;/P&gt;&lt;P&gt;We are trying to generate a table after we got output from a Splunk query. We are trying pipe (|) this to our query but do not know how to do this. Can someone assist?&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is the output after we ran our Splunk query,&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;Feb&lt;/SPAN&gt; &lt;SPAN class=""&gt;13&lt;/SPAN&gt; &lt;SPAN class=""&gt;20:36:21&lt;/SPAN&gt; &lt;SPAN class=""&gt;hostname1&lt;/SPAN&gt; &lt;SPAN class=""&gt;sshd&lt;/SPAN&gt;&lt;SPAN&gt;[&lt;/SPAN&gt;&lt;SPAN class=""&gt;100607&lt;/SPAN&gt;&lt;SPAN&gt;]&lt;/SPAN&gt;&lt;SPAN class=""&gt;:&lt;/SPAN&gt; &lt;SPAN class=""&gt;pam_unix&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN class=""&gt;sshd:session&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;SPAN class=""&gt;:&lt;/SPAN&gt; &lt;SPAN class=""&gt;session&lt;/SPAN&gt; &lt;SPAN class=""&gt;opened&lt;/SPAN&gt; &lt;SPAN class=""&gt;for&lt;/SPAN&gt; &lt;SPAN class=""&gt;user&lt;/SPAN&gt;&amp;nbsp;user123&amp;nbsp;&lt;SPAN class=""&gt;by&lt;/SPAN&gt;&lt;SPAN&gt; (&lt;/SPAN&gt;&lt;SPAN class=""&gt;uid=0)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;Feb&lt;/SPAN&gt; &lt;SPAN class=""&gt;13&lt;/SPAN&gt; &lt;SPAN class=""&gt;20:36:23&lt;/SPAN&gt;&amp;nbsp;&lt;SPAN class=""&gt;hostname2&lt;/SPAN&gt; &lt;SPAN class=""&gt;sshd&lt;/SPAN&gt;&lt;SPAN&gt;[&lt;/SPAN&gt;&lt;SPAN class=""&gt;100608&lt;/SPAN&gt;&lt;SPAN&gt;]&lt;/SPAN&gt;&lt;SPAN class=""&gt;:&lt;/SPAN&gt; &lt;SPAN class=""&gt;pam_unix&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN class=""&gt;sshd:session&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;SPAN class=""&gt;:&lt;/SPAN&gt; &lt;SPAN class=""&gt;session&lt;/SPAN&gt; &lt;SPAN class=""&gt;opened&lt;/SPAN&gt; &lt;SPAN class=""&gt;for&lt;/SPAN&gt; &lt;SPAN class=""&gt;user&lt;/SPAN&gt;&amp;nbsp;user345&amp;nbsp;&lt;SPAN class=""&gt;by&lt;/SPAN&gt;&lt;SPAN&gt; (&lt;/SPAN&gt;&lt;SPAN class=""&gt;uid=0)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;We want to capture the table in this form,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;Time&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Hosts&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Users&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;Feb 13 20:36:21&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;hostname1&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; user123&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;Feb 13 20:36:23&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;hostname2&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; user345&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;And so on..&lt;/P&gt;&lt;P&gt;How do we do this. Thank you in advance!&lt;/P&gt;</description>
      <pubDate>Tue, 13 Feb 2024 23:08:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Generating-a-table-without-fields/m-p/677494#M55484</guid>
      <dc:creator>snobyink</dc:creator>
      <dc:date>2024-02-13T23:08:59Z</dc:date>
    </item>
    <item>
      <title>Re: Generating a table without fields</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Generating-a-table-without-fields/m-p/677531#M55490</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/264899"&gt;@snobyink&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;at first, these seem to be Linux logs, so using the Splunk_TA_nix (&lt;A href="https://splunkbase.splunk.com/app/833" target="_blank"&gt;https://splunkbase.splunk.com/app/833&lt;/A&gt;), you should have all the fields extracted.&lt;/P&gt;&lt;P&gt;Anyway, you can use a regex to extract the use field (the host should be already extracted:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index=your_index
| rex "for user (?&amp;lt;user&amp;gt;\w+)"
| table _time host user&lt;/LI-CODE&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Wed, 14 Feb 2024 07:32:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Generating-a-table-without-fields/m-p/677531#M55490</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2024-02-14T07:32:10Z</dc:date>
    </item>
    <item>
      <title>Re: Generating a table without fields</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Generating-a-table-without-fields/m-p/677569#M55498</link>
      <description>&lt;P&gt;Thanks! Unfortunately the hostname is not extracted as a field. How do we extract host as well from the output? In the meantime we are looking to see if we can install this Add On if we can get past the red tape &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 14 Feb 2024 15:07:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Generating-a-table-without-fields/m-p/677569#M55498</guid>
      <dc:creator>snobyink</dc:creator>
      <dc:date>2024-02-14T15:07:12Z</dc:date>
    </item>
    <item>
      <title>Re: Generating a table without fields</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Generating-a-table-without-fields/m-p/677572#M55499</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/264899"&gt;@snobyink&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;in this case, please try this regex instead the previus one:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;^\w+\s+\d+\s+\d+:\d+:\d+\s+(?&amp;lt;host&amp;gt;\w+).*user\s(?&amp;lt;user&amp;gt;\w+)+&lt;/LI-CODE&gt;&lt;P&gt;that you can test at&amp;nbsp;&lt;A href="https://regex101.com/r/bV4B9h/1" target="_blank"&gt;https://regex101.com/r/bV4B9h/1&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Wed, 14 Feb 2024 15:11:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Generating-a-table-without-fields/m-p/677572#M55499</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2024-02-14T15:11:29Z</dc:date>
    </item>
    <item>
      <title>Re: Generating a table without fields</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Generating-a-table-without-fields/m-p/677574#M55500</link>
      <description>&lt;P&gt;Thank you for your help!&lt;/P&gt;</description>
      <pubDate>Wed, 14 Feb 2024 15:41:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Generating-a-table-without-fields/m-p/677574#M55500</guid>
      <dc:creator>snobyink</dc:creator>
      <dc:date>2024-02-14T15:41:31Z</dc:date>
    </item>
  </channel>
</rss>

