<?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: How to return events with or without a value in a specific field? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-return-events-with-or-without-a-value-in-a-specific-field/m-p/597466#M208012</link>
    <description>&lt;P&gt;Your base search is looking for events where both case_number and session fields are available. To see everything, just remove that filter from base search, like this&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index=cui botId=123456789 session=*
| table case_number session&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;If you want to display some different value instead of blanks/null, try this version&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index=cui botId=123456789 session=*
| eval case_number=coalesce(case_number,"Not Available")
| table case_number session&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 11 May 2022 18:30:59 GMT</pubDate>
    <dc:creator>somesoni2</dc:creator>
    <dc:date>2022-05-11T18:30:59Z</dc:date>
    <item>
      <title>How to return events with or without a value in a specific field?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-return-events-with-or-without-a-value-in-a-specific-field/m-p/597429#M207994</link>
      <description>&lt;P&gt;Hi all!&lt;/P&gt;&lt;P&gt;I'm trying to create a table with case_number and session as the two columns.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any event without a case_number won't show up in the table. How do I get them to show up?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index=cui botId=123456789 case_number=* session=*
| table case_number session&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;I tried using &lt;STRONG&gt;| fields case_number&lt;/STRONG&gt; instead, but this didn't work either.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Appreciate any help!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 11 May 2022 15:08:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-return-events-with-or-without-a-value-in-a-specific-field/m-p/597429#M207994</guid>
      <dc:creator>KyleMcDougall</dc:creator>
      <dc:date>2022-05-11T15:08:06Z</dc:date>
    </item>
    <item>
      <title>Re: How to return events with or without a value in a specific field?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-return-events-with-or-without-a-value-in-a-specific-field/m-p/597433#M207996</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;You can fill empty fields with fillnull command, try this ;&amp;nbsp;&lt;/P&gt;&lt;P&gt;index=cui "your search" | fillnull case_number value=null | table case_number session&lt;/P&gt;</description>
      <pubDate>Wed, 11 May 2022 15:18:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-return-events-with-or-without-a-value-in-a-specific-field/m-p/597433#M207996</guid>
      <dc:creator>batabay</dc:creator>
      <dc:date>2022-05-11T15:18:03Z</dc:date>
    </item>
    <item>
      <title>Re: How to return events with or without a value in a specific field?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-return-events-with-or-without-a-value-in-a-specific-field/m-p/597442#M208001</link>
      <description>&lt;P&gt;This is really good to know! But, I still wasn't able to get events without a case number to show up.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I think the&lt;STRONG&gt; case_number=*&lt;/STRONG&gt; parameter is enforcing that a value is present for this field.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 11 May 2022 15:55:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-return-events-with-or-without-a-value-in-a-specific-field/m-p/597442#M208001</guid>
      <dc:creator>KyleMcDougall</dc:creator>
      <dc:date>2022-05-11T15:55:31Z</dc:date>
    </item>
    <item>
      <title>Re: How to return events with or without a value in a specific field?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-return-events-with-or-without-a-value-in-a-specific-field/m-p/597466#M208012</link>
      <description>&lt;P&gt;Your base search is looking for events where both case_number and session fields are available. To see everything, just remove that filter from base search, like this&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index=cui botId=123456789 session=*
| table case_number session&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;If you want to display some different value instead of blanks/null, try this version&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index=cui botId=123456789 session=*
| eval case_number=coalesce(case_number,"Not Available")
| table case_number session&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 11 May 2022 18:30:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-return-events-with-or-without-a-value-in-a-specific-field/m-p/597466#M208012</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2022-05-11T18:30:59Z</dc:date>
    </item>
    <item>
      <title>Re: How to return events with or without a value in a specific field?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-return-events-with-or-without-a-value-in-a-specific-field/m-p/597468#M208014</link>
      <description>&lt;P&gt;For some reason, the case number field doesn't show up unless I add in "case_number=*'&lt;/P&gt;&lt;P&gt;Dually noted your eval command. I'm sure I'll end up using it if I can figure out how to get the blank case number values to populate.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 11 May 2022 18:47:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-return-events-with-or-without-a-value-in-a-specific-field/m-p/597468#M208014</guid>
      <dc:creator>KyleMcDougall</dc:creator>
      <dc:date>2022-05-11T18:47:47Z</dc:date>
    </item>
    <item>
      <title>Re: How to return events with or without a value in a specific field?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-return-events-with-or-without-a-value-in-a-specific-field/m-p/620917#M215835</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What you can try is&lt;/P&gt;&lt;P&gt;| fillnull value=&lt;/P&gt;&lt;P&gt;don't fill anything after the =&lt;/P&gt;&lt;P&gt;I'm having the same issue and this works for me, let me know if it works for you.&lt;/P&gt;</description>
      <pubDate>Tue, 15 Nov 2022 15:20:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-return-events-with-or-without-a-value-in-a-specific-field/m-p/620917#M215835</guid>
      <dc:creator>TDFlames</dc:creator>
      <dc:date>2022-11-15T15:20:26Z</dc:date>
    </item>
  </channel>
</rss>

