<?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: Timecharting null values in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Timecharting-null-values/m-p/551295#M156440</link>
    <description>&lt;P&gt;The &lt;FONT face="courier new,courier"&gt;timechart&lt;/FONT&gt; command requires the _time field, which &lt;FONT face="courier new,courier"&gt;fieldsummary&lt;/FONT&gt; does not supply.&lt;/P&gt;</description>
    <pubDate>Wed, 12 May 2021 00:30:35 GMT</pubDate>
    <dc:creator>richgalloway</dc:creator>
    <dc:date>2021-05-12T00:30:35Z</dc:date>
    <item>
      <title>Timecharting null values</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Timecharting-null-values/m-p/551277#M156434</link>
      <description>&lt;P&gt;Is there a way, that anyone is aware of, to timechart off of a field sumarry. I can break down the fieldsummary by timecharting first, I just end up with repeated field names with what looks like hashes appended to them, which is weird. I am trying to detrmine all the NULL fields and present them in a timecharted graph by day. Currently, without the timechart portion, this is what I have.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;...| fieldsummary&lt;BR /&gt;| search values=*Unknown*&lt;BR /&gt;| rex field=values \"Unknown\"\\S\"count\":(?&amp;lt;null_count&amp;gt;\\d+)},&lt;BR /&gt;|eval percent_null=(null_count/count)*100&lt;BR /&gt;|eval Percent1=100-percent_null&lt;BR /&gt;|fields field Percent1 null_count&lt;/P&gt;</description>
      <pubDate>Tue, 11 May 2021 19:06:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Timecharting-null-values/m-p/551277#M156434</guid>
      <dc:creator>bspargur</dc:creator>
      <dc:date>2021-05-11T19:06:19Z</dc:date>
    </item>
    <item>
      <title>Re: Timecharting null values</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Timecharting-null-values/m-p/551295#M156440</link>
      <description>&lt;P&gt;The &lt;FONT face="courier new,courier"&gt;timechart&lt;/FONT&gt; command requires the _time field, which &lt;FONT face="courier new,courier"&gt;fieldsummary&lt;/FONT&gt; does not supply.&lt;/P&gt;</description>
      <pubDate>Wed, 12 May 2021 00:30:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Timecharting-null-values/m-p/551295#M156440</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2021-05-12T00:30:35Z</dc:date>
    </item>
    <item>
      <title>Re: Timecharting null values</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Timecharting-null-values/m-p/551402#M156478</link>
      <description>&lt;P&gt;The _time can be used prior to the field summary command being run, I just get crazy outputs. If there is a better way to do what I am trying to do, that would work too. I am just not quite sure how to get it to work right.&lt;/P&gt;</description>
      <pubDate>Wed, 12 May 2021 21:01:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Timecharting-null-values/m-p/551402#M156478</guid>
      <dc:creator>bspargur</dc:creator>
      <dc:date>2021-05-12T21:01:20Z</dc:date>
    </item>
    <item>
      <title>Re: Timecharting null values</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Timecharting-null-values/m-p/551446#M156491</link>
      <description>&lt;P&gt;Is there another way to do what?&amp;nbsp; Please describe your desired output.&amp;nbsp; What do you mean by "crazy outputs"?&amp;nbsp; What problem are you trying to solve?&lt;/P&gt;</description>
      <pubDate>Thu, 13 May 2021 12:22:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Timecharting-null-values/m-p/551446#M156491</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2021-05-13T12:22:55Z</dc:date>
    </item>
    <item>
      <title>Re: Timecharting null values</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Timecharting-null-values/m-p/551689#M156550</link>
      <description>&lt;P&gt;I am trying to trend NULL values over time. There are 12 fields in total. I am attempting to get it to trend by day where it shows the fields that are NULL with and the counts for those fields, in addition to a percentage of ones that were not NULL. I can provide the output I get on Monday but I think it might be better to take a step back and see if anyone has an idea for a better way to do this.&lt;/P&gt;</description>
      <pubDate>Sat, 15 May 2021 06:17:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Timecharting-null-values/m-p/551689#M156550</guid>
      <dc:creator>bspargur</dc:creator>
      <dc:date>2021-05-15T06:17:47Z</dc:date>
    </item>
    <item>
      <title>Re: Timecharting null values</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Timecharting-null-values/m-p/551690#M156551</link>
      <description>&lt;LI-CODE lang="markup"&gt;| gentimes start=-30 increment=1h
| rename starttime as _time 
| fields _time
| eval fielda="a".mvindex(split("ABC",""),random()%4)
| eval fieldb="b".mvindex(split("ABC",""),random()%4)
| eval fieldc="c".mvindex(split("ABC",""),random()%4)
| eval fieldd="d".mvindex(split("ABC",""),random()%4)
| eval fielde="e".mvindex(split("ABC",""),random()%4)
| eval fieldf="f".mvindex(split("ABC",""),random()%4)


| foreach *
    [| eval null_&amp;lt;&amp;lt;FIELD&amp;gt;&amp;gt;=if(isnull(&amp;lt;&amp;lt;FIELD&amp;gt;&amp;gt;),1,null)]
| timechart span=1d sum(null_*) as null_*&lt;/LI-CODE&gt;</description>
      <pubDate>Sat, 15 May 2021 08:01:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Timecharting-null-values/m-p/551690#M156551</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2021-05-15T08:01:27Z</dc:date>
    </item>
    <item>
      <title>Re: Timecharting null values</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Timecharting-null-values/m-p/552124#M156688</link>
      <description>&lt;P&gt;Thank you. This is a very nice solution.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 19 May 2021 03:15:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Timecharting-null-values/m-p/552124#M156688</guid>
      <dc:creator>bspargur</dc:creator>
      <dc:date>2021-05-19T03:15:11Z</dc:date>
    </item>
  </channel>
</rss>

