<?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: empty fields in a table in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/empty-fields-in-a-table/m-p/463904#M130774</link>
    <description>&lt;P&gt;But I face another issue: I have following a splunk query &lt;/P&gt;

&lt;P&gt;source="maillog.log" host="mail_server" sourcetype="mail" | rex "(?\d{1,3}.\d{1,3}.\d{1,3}.\d{1,3})"&lt;/P&gt;

&lt;P&gt;When I use top command&lt;/P&gt;

&lt;P&gt;source="maillog.log" host="mail_server" sourcetype="mail" | rex "(?\d{1,3}.\d{1,3}.\d{1,3}.\d{1,3})" | top ip&lt;/P&gt;

&lt;P&gt;it shows well. But when using table command it shows again field with null.&lt;/P&gt;

&lt;P&gt;source="maillog.log" host="mail_server" sourcetype="mail" | rex "(?\d{1,3}.\d{1,3}.\d{1,3}.\d{1,3})" | table _time ip&lt;/P&gt;

&lt;P&gt;I use Verbose mode and there are values in ip field. &lt;/P&gt;</description>
    <pubDate>Mon, 10 Feb 2020 11:24:14 GMT</pubDate>
    <dc:creator>gagareg</dc:creator>
    <dc:date>2020-02-10T11:24:14Z</dc:date>
    <item>
      <title>empty fields in a table</title>
      <link>https://community.splunk.com/t5/Splunk-Search/empty-fields-in-a-table/m-p/463901#M130771</link>
      <description>&lt;P&gt;why does Splunk display empty fields in the table even though there are values there&lt;/P&gt;

&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="alt text"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/8342i4BB9902FD29E40F5/image-size/large?v=v2&amp;amp;px=999" role="button" title="alt text" alt="alt text" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 08 Feb 2020 15:11:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/empty-fields-in-a-table/m-p/463901#M130771</guid>
      <dc:creator>gagareg</dc:creator>
      <dc:date>2020-02-08T15:11:22Z</dc:date>
    </item>
    <item>
      <title>Re: empty fields in a table</title>
      <link>https://community.splunk.com/t5/Splunk-Search/empty-fields-in-a-table/m-p/463902#M130772</link>
      <description>&lt;P&gt;Cells in a table tend to be empty because either 1) the field has no value in the event; or 2) the event has no field by that name.&lt;BR /&gt;
Run the search in Verbose Mode then look in the Events tab to see if the fields are indeed present and have values.  Pay close attention to the spelling and capitalization of field names as Splunk cares about both.  "status" is not the same as "Status", for example.&lt;/P&gt;

&lt;P&gt;Pro tip: Add a default clause to your &lt;CODE&gt;case&lt;/CODE&gt; functions to catch unexpected values.  Something like &lt;CODE&gt;eval description = case(status==200, "OK", ..., 1==1, "unknown")&lt;/CODE&gt;.&lt;/P&gt;</description>
      <pubDate>Sat, 08 Feb 2020 17:48:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/empty-fields-in-a-table/m-p/463902#M130772</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2020-02-08T17:48:54Z</dc:date>
    </item>
    <item>
      <title>Re: empty fields in a table</title>
      <link>https://community.splunk.com/t5/Splunk-Search/empty-fields-in-a-table/m-p/463903#M130773</link>
      <description>&lt;P&gt;Yes, you're right about mode. I tried Verbose mode, and it works as expected. Thank you &lt;/P&gt;</description>
      <pubDate>Mon, 10 Feb 2020 09:45:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/empty-fields-in-a-table/m-p/463903#M130773</guid>
      <dc:creator>gagareg</dc:creator>
      <dc:date>2020-02-10T09:45:10Z</dc:date>
    </item>
    <item>
      <title>Re: empty fields in a table</title>
      <link>https://community.splunk.com/t5/Splunk-Search/empty-fields-in-a-table/m-p/463904#M130774</link>
      <description>&lt;P&gt;But I face another issue: I have following a splunk query &lt;/P&gt;

&lt;P&gt;source="maillog.log" host="mail_server" sourcetype="mail" | rex "(?\d{1,3}.\d{1,3}.\d{1,3}.\d{1,3})"&lt;/P&gt;

&lt;P&gt;When I use top command&lt;/P&gt;

&lt;P&gt;source="maillog.log" host="mail_server" sourcetype="mail" | rex "(?\d{1,3}.\d{1,3}.\d{1,3}.\d{1,3})" | top ip&lt;/P&gt;

&lt;P&gt;it shows well. But when using table command it shows again field with null.&lt;/P&gt;

&lt;P&gt;source="maillog.log" host="mail_server" sourcetype="mail" | rex "(?\d{1,3}.\d{1,3}.\d{1,3}.\d{1,3})" | table _time ip&lt;/P&gt;

&lt;P&gt;I use Verbose mode and there are values in ip field. &lt;/P&gt;</description>
      <pubDate>Mon, 10 Feb 2020 11:24:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/empty-fields-in-a-table/m-p/463904#M130774</guid>
      <dc:creator>gagareg</dc:creator>
      <dc:date>2020-02-10T11:24:14Z</dc:date>
    </item>
    <item>
      <title>Re: empty fields in a table</title>
      <link>https://community.splunk.com/t5/Splunk-Search/empty-fields-in-a-table/m-p/561975#M195447</link>
      <description>&lt;P&gt;I'm also having this problem, already in verbose mode but I had to go into "XX more fields" to add these to my initial query.&amp;nbsp; Am I better off attempting this as a dashboard or getting those fields automatically added to the search?&amp;nbsp;&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;</description>
      <pubDate>Tue, 03 Aug 2021 22:36:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/empty-fields-in-a-table/m-p/561975#M195447</guid>
      <dc:creator>fgarvis0_36</dc:creator>
      <dc:date>2021-08-03T22:36:11Z</dc:date>
    </item>
    <item>
      <title>Re: empty fields in a table</title>
      <link>https://community.splunk.com/t5/Splunk-Search/empty-fields-in-a-table/m-p/561978#M195449</link>
      <description>&lt;P&gt;If you're having a similar problem, but this solution doesn't help then you have a different problem and should post a new question.&lt;/P&gt;</description>
      <pubDate>Wed, 04 Aug 2021 00:12:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/empty-fields-in-a-table/m-p/561978#M195449</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2021-08-04T00:12:22Z</dc:date>
    </item>
  </channel>
</rss>

