<?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 populate nonexistent values in a table? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-populate-nonexistent-values-in-a-table/m-p/514178#M144313</link>
    <description>&lt;LI-CODE lang="markup"&gt;index=test_index_1 sourcetype=test_sourcetype_2

| eval epoch_Timestamp=strptime(Timestamp, "%Y-%m-%dT%H:%M:%S.%3QZ")-14400

| rename "Transaction Name" as trans_name, "Application Name" as application_name, "Status Code" as status_code

| eval service_id=case(Verb="GET" AND trans_name="Transaction1" AND application_name="APP1", "ID1", Verb="GET" AND trans_name="Transaction2" AND application_name="App2", "ID2", Verb="PUT" AND trans_name="Transaction2" AND application_name="App2", "ID3", 1=1, "Unqualified")

| where service_id!="Unqualified"

| eval Priority=case(Verb="GET" AND trans_name="Transaction1" AND application_name="APP1", "2", Verb="GET" AND trans_name="Transaction2" AND application_name="App2", "2", Verb="PUT" AND trans_name="Transaction2" AND application_name="App2", "1", 1=1, "Unqualified")

| where Priority!="Unqualified"

| eval service_area=case(Verb="GET" AND trans_name="Transaction1" AND application_name="APP1", "Area1", Verb="GET" AND trans_name="Transaction2" AND application_name="App2", "Area2", Verb="PUT" AND trans_name="Transaction2" AND application_name="App2", "Member", 1=1, "Unqualified")

| where service_area!="Unqualified"

| eval date_reference=strftime(epoch_Timestamp, "%Y-%m-%d")

| stats count(eval(status_code)) as count by service_id, Verb, trans_name, Priority, service_area, application_name, date_reference

| eval combined=service_id."@".Verb."@".trans_name."@".Priority."@".service_area."@".application_name."@"

| xyseries combined date_reference count

| rex field=combined "^(?&amp;lt;service_id&amp;gt;[^\@]+)\@(?&amp;lt;Verb&amp;gt;[^\@]+)\@(?&amp;lt;trans_name&amp;gt;[^\@]+)\@(?&amp;lt;Priority&amp;gt;[^\@]+)\@(?&amp;lt;service_area&amp;gt;[^\@]+)\@(?&amp;lt;application_name&amp;gt;[^\@]+)\@$"

| fillnull value="0"

| table service_id, Verb, trans_name, Priority, service_area, application_name

[ makeresults | addinfo

| eval time = mvappend(relative_time(info_min_time,"@d"),relative_time(info_max_time,"@d"))

| fields time | mvexpand time

| makecontinuous time span=1d

| eval time=strftime(time,"%F")

| reverse

| stats list(time) as time

| return $time

]

| rename service_id as "Service ID", Verb as "Resource Name", trans_name as "Transaction Name", Priority as "Priority", service_area as "Service Area", application_name as "Consumer"&lt;/LI-CODE&gt;</description>
    <pubDate>Fri, 14 Aug 2020 18:17:56 GMT</pubDate>
    <dc:creator>adnankhan5133</dc:creator>
    <dc:date>2020-08-14T18:17:56Z</dc:date>
    <item>
      <title>How to populate nonexistent values in a table?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-populate-nonexistent-values-in-a-table/m-p/513732#M144171</link>
      <description>&lt;P&gt;&lt;SPAN&gt;My query below generates a table, which appears as follows. The issue that I'm trying to resolve is being able to populate non-existent values with "No Data", as shown in the 2020-08-11 column. Can someone provide some assistance on how to do this? I have used fillnull and filldown, but have not been successful.&lt;/SPAN&gt;&lt;/P&gt;&lt;TABLE border="1" width="100%"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="12.5%" height="45px"&gt;Service ID&lt;/TD&gt;&lt;TD width="12.5%" height="45px"&gt;Resource Name&lt;/TD&gt;&lt;TD width="12.5%" height="45px"&gt;Transaction Name&lt;/TD&gt;&lt;TD width="12.5%" height="45px"&gt;Priority&lt;/TD&gt;&lt;TD width="12.5%" height="45px"&gt;Service Area&lt;/TD&gt;&lt;TD width="12.5%" height="45px"&gt;Consumer&lt;/TD&gt;&lt;TD width="12.5%" height="45px"&gt;2020-08-12&lt;/TD&gt;&lt;TD width="6.25%" height="45px"&gt;2020-08-11&lt;/TD&gt;&lt;TD width="3.125%" height="45px"&gt;2020-08-10&lt;/TD&gt;&lt;TD width="3.125%" height="45px"&gt;2020-08-09&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="12.5%" height="24px"&gt;ID1&lt;/TD&gt;&lt;TD width="12.5%" height="24px"&gt;GET&lt;/TD&gt;&lt;TD width="12.5%" height="24px"&gt;Transaction1&lt;/TD&gt;&lt;TD width="12.5%" height="24px"&gt;1&lt;/TD&gt;&lt;TD width="12.5%" height="24px"&gt;Area1&lt;/TD&gt;&lt;TD width="12.5%" height="24px"&gt;App1&lt;/TD&gt;&lt;TD width="12.5%" height="24px"&gt;3&lt;/TD&gt;&lt;TD width="6.25%" height="24px"&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD width="3.125%" height="24px"&gt;4&lt;/TD&gt;&lt;TD width="3.125%" height="24px"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="12.5%" height="24px"&gt;ID2&lt;/TD&gt;&lt;TD width="12.5%" height="24px"&gt;PUT&lt;/TD&gt;&lt;TD width="12.5%" height="24px"&gt;Transaction2&lt;/TD&gt;&lt;TD width="12.5%" height="24px"&gt;2&lt;/TD&gt;&lt;TD width="12.5%" height="24px"&gt;Area2&lt;/TD&gt;&lt;TD width="12.5%" height="24px"&gt;App2&lt;/TD&gt;&lt;TD width="12.5%" height="24px"&gt;8&lt;/TD&gt;&lt;TD width="6.25%" height="24px"&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD width="3.125%" height="24px"&gt;2&lt;/TD&gt;&lt;TD width="3.125%" height="24px"&gt;5&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P class="_1qeIAgB0cPwnLhDF9XSiJM"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="_1qeIAgB0cPwnLhDF9XSiJM"&gt;index=test_index_1 sourcetype=test_sourcetype_2&lt;/P&gt;&lt;P class="_1qeIAgB0cPwnLhDF9XSiJM"&gt;| eval epoch_Timestamp=strptime(Timestamp, "%Y-%m-%dT%H:%M:%S.%3QZ")-14400&lt;/P&gt;&lt;P class="_1qeIAgB0cPwnLhDF9XSiJM"&gt;| rename "Transaction Name" as trans_name, "Application Name" as application_name, "Status Code" as status_code&lt;/P&gt;&lt;P class="_1qeIAgB0cPwnLhDF9XSiJM"&gt;| eval service_id=case(Verb="GET" AND trans_name="Transaction1" AND application_name="APP1", "ID1", Verb="GET" AND trans_name="Transaction2" AND application_name="App2", "ID2", Verb="PUT" AND trans_name="Transaction2" AND application_name="App2", "ID3", 1=1, "Unqualified")&lt;/P&gt;&lt;P class="_1qeIAgB0cPwnLhDF9XSiJM"&gt;| where service_id!="Unqualified"&lt;/P&gt;&lt;P class="_1qeIAgB0cPwnLhDF9XSiJM"&gt;| eval Priority=case(Verb="GET" AND trans_name="Transaction1" AND application_name="APP1", "2", Verb="GET" AND trans_name="Transaction2" AND application_name="App2", "2", Verb="PUT" AND trans_name="Transaction2" AND application_name="App2", "1", 1=1, "Unqualified")&lt;/P&gt;&lt;P class="_1qeIAgB0cPwnLhDF9XSiJM"&gt;| where Priority!="Unqualified"&lt;/P&gt;&lt;P class="_1qeIAgB0cPwnLhDF9XSiJM"&gt;| eval service_area=case(Verb="GET" AND trans_name="Transaction1" AND application_name="APP1", "Area1", Verb="GET" AND trans_name="Transaction2" AND application_name="App2", "Area2", Verb="PUT" AND trans_name="Transaction2" AND application_name="App2", "Member", 1=1, "Unqualified")&lt;/P&gt;&lt;P class="_1qeIAgB0cPwnLhDF9XSiJM"&gt;| where service_area!="Unqualified"&lt;/P&gt;&lt;P class="_1qeIAgB0cPwnLhDF9XSiJM"&gt;| eval date_reference=strftime(epoch_Timestamp, "%Y-%m-%d")&lt;/P&gt;&lt;P class="_1qeIAgB0cPwnLhDF9XSiJM"&gt;| stats count(eval(status_code)) as count by service_id, Verb, trans_name, Priority, service_area, application_name, date_reference&lt;/P&gt;&lt;P class="_1qeIAgB0cPwnLhDF9XSiJM"&gt;| eval combined=service_id."@".Verb."@".trans_name."@".Priority."@".service_area."@".application_name."@"&lt;/P&gt;&lt;P class="_1qeIAgB0cPwnLhDF9XSiJM"&gt;| xyseries combined date_reference count&lt;/P&gt;&lt;P class="_1qeIAgB0cPwnLhDF9XSiJM"&gt;| rex field=combined "^(?&amp;lt;service_id&amp;gt;[^\@]+)\@(?&amp;lt;Verb&amp;gt;[^\@]+)\@(?&amp;lt;trans_name&amp;gt;[^\@]+)\@(?&amp;lt;Priority&amp;gt;[^\@]+)\@(?&amp;lt;service_area&amp;gt;[^\@]+)\@(?&amp;lt;application_name&amp;gt;[^\@]+)\@$"&lt;/P&gt;&lt;P class="_1qeIAgB0cPwnLhDF9XSiJM"&gt;| fillnull value="0"&lt;/P&gt;&lt;P class="_1qeIAgB0cPwnLhDF9XSiJM"&gt;| table service_id, Verb, trans_name, Priority, service_area, application_name&lt;/P&gt;&lt;P class="_1qeIAgB0cPwnLhDF9XSiJM"&gt;[ makeresults | addinfo&lt;/P&gt;&lt;P class="_1qeIAgB0cPwnLhDF9XSiJM"&gt;| eval time = mvappend(relative_time(info_min_time,"@d"),relative_time(info_max_time,"@d"))&lt;/P&gt;&lt;P class="_1qeIAgB0cPwnLhDF9XSiJM"&gt;| fields time | mvexpand time&lt;/P&gt;&lt;P class="_1qeIAgB0cPwnLhDF9XSiJM"&gt;| makecontinuous time span=1d&lt;/P&gt;&lt;P class="_1qeIAgB0cPwnLhDF9XSiJM"&gt;| eval time=strftime(time,"%F")&lt;/P&gt;&lt;P class="_1qeIAgB0cPwnLhDF9XSiJM"&gt;| reverse&lt;/P&gt;&lt;P class="_1qeIAgB0cPwnLhDF9XSiJM"&gt;| stats list(time) as time&lt;/P&gt;&lt;P class="_1qeIAgB0cPwnLhDF9XSiJM"&gt;| return $time&lt;/P&gt;&lt;P class="_1qeIAgB0cPwnLhDF9XSiJM"&gt;]&lt;/P&gt;&lt;P class="_1qeIAgB0cPwnLhDF9XSiJM"&gt;| rename service_id as "Service ID", Verb as "Resource Name", trans_name as "Transaction Name", Priority as "Priority", service_area as "Service Area", application_name as "Consumer"&lt;/P&gt;</description>
      <pubDate>Wed, 12 Aug 2020 15:31:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-populate-nonexistent-values-in-a-table/m-p/513732#M144171</guid>
      <dc:creator>adnankhan5133</dc:creator>
      <dc:date>2020-08-12T15:31:32Z</dc:date>
    </item>
    <item>
      <title>Re: How to populate nonexistent values in a table?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-populate-nonexistent-values-in-a-table/m-p/513955#M144248</link>
      <description>&lt;P&gt;Anyone? Hoping someone can help out here...&lt;/P&gt;</description>
      <pubDate>Thu, 13 Aug 2020 17:31:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-populate-nonexistent-values-in-a-table/m-p/513955#M144248</guid>
      <dc:creator>adnankhan5133</dc:creator>
      <dc:date>2020-08-13T17:31:27Z</dc:date>
    </item>
    <item>
      <title>Re: How to populate nonexistent values in a table?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-populate-nonexistent-values-in-a-table/m-p/514017#M144273</link>
      <description>&lt;P&gt;add&lt;BR /&gt;| foreach 2020* [ eval &amp;lt;&amp;lt;FIELD&amp;gt;&amp;gt; =if(isnull('&amp;lt;&amp;lt;FIELD&amp;gt;&amp;gt;') OR !match('&amp;lt;&amp;lt;FIELD&amp;gt;&amp;gt;',"\S+"),"No Data",'&amp;lt;&amp;lt;FIELD&amp;gt;&amp;gt;')]&lt;/P&gt;</description>
      <pubDate>Fri, 14 Aug 2020 03:55:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-populate-nonexistent-values-in-a-table/m-p/514017#M144273</guid>
      <dc:creator>to4kawa</dc:creator>
      <dc:date>2020-08-14T03:55:20Z</dc:date>
    </item>
    <item>
      <title>Re: How to populate nonexistent values in a table?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-populate-nonexistent-values-in-a-table/m-p/514070#M144293</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/184221"&gt;@to4kawa&lt;/a&gt;&amp;nbsp;- Thanks for the reply. However, when I include the following statement after the makeresults subsearch (which returns the time columns), the query ends up creating a new column called "&amp;lt;&amp;lt;FIELD&amp;gt;&amp;gt;" or whatever value I substitute in, such '&amp;lt;&amp;lt;count&amp;gt;&amp;gt;' or 'count'.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;| foreach 2020* [ eval &amp;lt;&amp;lt;FIELD&amp;gt;&amp;gt; =if(isnull('&amp;lt;&amp;lt;FIELD&amp;gt;&amp;gt;') OR !match('&amp;lt;&amp;lt;FIELD&amp;gt;&amp;gt;',"\S+"),"No Data",'&amp;lt;&amp;lt;FIELD&amp;gt;&amp;gt;')]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Any suggestions on how to remedy this?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 14 Aug 2020 11:08:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-populate-nonexistent-values-in-a-table/m-p/514070#M144293</guid>
      <dc:creator>adnankhan5133</dc:creator>
      <dc:date>2020-08-14T11:08:51Z</dc:date>
    </item>
    <item>
      <title>Re: How to populate nonexistent values in a table?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-populate-nonexistent-values-in-a-table/m-p/514073#M144294</link>
      <description>&lt;P&gt;I also tried the following, along with filldown, fillnull, and a couple of eval statements, but unfortunately, I'm not making any progress.&lt;/P&gt;&lt;DIV&gt;| foreach notNULL&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;[ eval time = if(isnull(time) OR len(time)==0, "0", time)&lt;/DIV&gt;</description>
      <pubDate>Fri, 14 Aug 2020 11:14:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-populate-nonexistent-values-in-a-table/m-p/514073#M144294</guid>
      <dc:creator>adnankhan5133</dc:creator>
      <dc:date>2020-08-14T11:14:54Z</dc:date>
    </item>
    <item>
      <title>Re: How to populate nonexistent values in a table?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-populate-nonexistent-values-in-a-table/m-p/514097#M144301</link>
      <description>&lt;LI-CODE lang="markup"&gt;| makeresults 
| fillnull 2020-08-01 2020-08-02 count value=10
| foreach 2020* [ eval &amp;lt;&amp;lt;FIELD&amp;gt;&amp;gt;=random() % 10 + '&amp;lt;&amp;lt;FIELD&amp;gt;&amp;gt;']&lt;/LI-CODE&gt;&lt;P&gt;this query works fine.&lt;BR /&gt;&lt;BR /&gt;It turns out you're doing something extra for your query.&lt;BR /&gt;&lt;BR /&gt;my query can't display&amp;nbsp;&lt;STRONG&gt;"&amp;lt;&amp;lt;FIELD&amp;gt;&amp;gt;"&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 14 Aug 2020 13:18:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-populate-nonexistent-values-in-a-table/m-p/514097#M144301</guid>
      <dc:creator>to4kawa</dc:creator>
      <dc:date>2020-08-14T13:18:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to populate nonexistent values in a table?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-populate-nonexistent-values-in-a-table/m-p/514117#M144302</link>
      <description>&lt;P&gt;Hey&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/184221"&gt;@to4kawa&lt;/a&gt;&amp;nbsp; - I tried using your updated query. It ends up populating the 2020-08-01 and 2020-08-02 columns with random numbers.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there a way to get the date columns associated with non-existent values to populate with "0" ? For example, when the column with today's date (2020-8-14) generates at 12AM EST (US/Eastern), the column values are null/blank. They will only populate later in the morning once certain transactions begin occurring. The requirement is to ensure that those null/blank values display as "0". The current query isn't meeting the requirement. I tried including both your recommendations, and those are getting the null/blank values to populate with "0" either.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 14 Aug 2020 14:07:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-populate-nonexistent-values-in-a-table/m-p/514117#M144302</guid>
      <dc:creator>adnankhan5133</dc:creator>
      <dc:date>2020-08-14T14:07:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to populate nonexistent values in a table?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-populate-nonexistent-values-in-a-table/m-p/514178#M144313</link>
      <description>&lt;LI-CODE lang="markup"&gt;index=test_index_1 sourcetype=test_sourcetype_2

| eval epoch_Timestamp=strptime(Timestamp, "%Y-%m-%dT%H:%M:%S.%3QZ")-14400

| rename "Transaction Name" as trans_name, "Application Name" as application_name, "Status Code" as status_code

| eval service_id=case(Verb="GET" AND trans_name="Transaction1" AND application_name="APP1", "ID1", Verb="GET" AND trans_name="Transaction2" AND application_name="App2", "ID2", Verb="PUT" AND trans_name="Transaction2" AND application_name="App2", "ID3", 1=1, "Unqualified")

| where service_id!="Unqualified"

| eval Priority=case(Verb="GET" AND trans_name="Transaction1" AND application_name="APP1", "2", Verb="GET" AND trans_name="Transaction2" AND application_name="App2", "2", Verb="PUT" AND trans_name="Transaction2" AND application_name="App2", "1", 1=1, "Unqualified")

| where Priority!="Unqualified"

| eval service_area=case(Verb="GET" AND trans_name="Transaction1" AND application_name="APP1", "Area1", Verb="GET" AND trans_name="Transaction2" AND application_name="App2", "Area2", Verb="PUT" AND trans_name="Transaction2" AND application_name="App2", "Member", 1=1, "Unqualified")

| where service_area!="Unqualified"

| eval date_reference=strftime(epoch_Timestamp, "%Y-%m-%d")

| stats count(eval(status_code)) as count by service_id, Verb, trans_name, Priority, service_area, application_name, date_reference

| eval combined=service_id."@".Verb."@".trans_name."@".Priority."@".service_area."@".application_name."@"

| xyseries combined date_reference count

| rex field=combined "^(?&amp;lt;service_id&amp;gt;[^\@]+)\@(?&amp;lt;Verb&amp;gt;[^\@]+)\@(?&amp;lt;trans_name&amp;gt;[^\@]+)\@(?&amp;lt;Priority&amp;gt;[^\@]+)\@(?&amp;lt;service_area&amp;gt;[^\@]+)\@(?&amp;lt;application_name&amp;gt;[^\@]+)\@$"

| fillnull value="0"

| table service_id, Verb, trans_name, Priority, service_area, application_name

[ makeresults | addinfo

| eval time = mvappend(relative_time(info_min_time,"@d"),relative_time(info_max_time,"@d"))

| fields time | mvexpand time

| makecontinuous time span=1d

| eval time=strftime(time,"%F")

| reverse

| stats list(time) as time

| return $time

]

| rename service_id as "Service ID", Verb as "Resource Name", trans_name as "Transaction Name", Priority as "Priority", service_area as "Service Area", application_name as "Consumer"&lt;/LI-CODE&gt;</description>
      <pubDate>Fri, 14 Aug 2020 18:17:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-populate-nonexistent-values-in-a-table/m-p/514178#M144313</guid>
      <dc:creator>adnankhan5133</dc:creator>
      <dc:date>2020-08-14T18:17:56Z</dc:date>
    </item>
    <item>
      <title>Re: How to populate nonexistent values in a table?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-populate-nonexistent-values-in-a-table/m-p/514220#M144323</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/91816"&gt;@adnankhan5133&lt;/a&gt;&amp;nbsp;you are performing too many preprocessing and filtering of data after pulling from index and before your stats command. Which will impact performance of your query.&lt;/P&gt;&lt;P&gt;Also you are performing eval on string time field with timezone adjustment by 4 hours. If your data is getting indexed with wrong timestamp identification you should&lt;STRONG&gt; handle timestamp extraction and timezone adjustment while indexing the data (not in all of your search time SPL which impacts performance)&lt;/STRONG&gt;. Please try the following search and confirm whether it matches your expectation.&lt;/P&gt;&lt;P&gt;1. I have _time calculated based on Timestamp string time field, however, you should handle this while indexing of data.&lt;/P&gt;&lt;P&gt;2. I have filtered only three combination of Verb, Transaction Name and Application Name from your data so that there is no need to pull unwanted data from index and filter later.&lt;BR /&gt;&lt;BR /&gt;3. I have used timechart to create empty buckets of time using calculated key field which is built by combining Verb, Transaction Name and Application Name.&lt;/P&gt;&lt;P&gt;4. Finally used transpose to reverse row data as column and vice versa. (Epoch time is converted String Time of format YYYY-mm-dd before transpose so that it shows up properly as column).&lt;BR /&gt;&lt;BR /&gt;Keep adding one pipe at a time to understand what each step is doing.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index=test_index_1 sourcetype=test_sourcetype_2 (Verb="GET" AND 'Transaction Name'="Transaction1" AND 'Application Name'="APP1") OR (Transaction Name'="Transaction2" AND 'Application Name'="App2") OR (Verb="PUT" AND 'Transaction Name'="Transaction2" AND 'Application Name'="App2)
| eval _time=strptime(Timestamp, "%Y-%m-%dT%H:%M:%S.%3QZ")-14400
| eval key=Verb."|".'Transaction Name'."|".'Application Name'
| timechart span=1d count('Status Code') as count by key 
| eval service_id=case(Verb="GET" AND 'Transaction Name'="Transaction1" AND 'Application Name'="APP1", "ID1", 
    Verb="GET" AND 'Transaction Name'="Transaction2" AND 'Application Name'="App2", "ID2", 
    Verb="PUT" AND 'Transaction Name'="Transaction2" AND 'Application Name'="App2", "ID3") 
| eval Priority=case(Verb="GET" AND 'Transaction Name'="Transaction1" AND 'Application Name'="APP1", "2",
    Verb="GET" AND 'Transaction Name'="Transaction2" AND 'Application Name'="App2", "2", 
    Verb="PUT" AND 'Transaction Name'="Transaction2" AND 'Application Name'="App2", "1") 
| eval service_area=case(Verb="GET" AND 'Transaction Name'="Transaction1" AND 'Application Name'="APP1", "Area1",
    Verb="GET" AND 'Transaction Name'="Transaction2" AND 'Application Name'="App2", "Area2",
    Verb="PUT" AND 'Transaction Name'="Transaction2" AND 'Application Name'="App2", "Member")
| eval Time=strftime(_time,"%Y-%m-%d")
| fields - _*
| transpose 0 header_field="Time" column_name=key
| eval key=split(key,"|"), Verb=mvindex(key,0), "Transaction Name"=mvindex(key,1), "Application Name"=mvindex(key,2)
| fields - key
| fields Verb "Transaction Name" "Application Name" *&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Following is a run anywhere example based on sample data provided:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| makeresults 
| eval Timestamp=strftime(_time,"%Y-%m-%dT%H:%M:%S.%3QZ") 
| eval data="Verb=\"GET\",\"Transaction Name\"=\"Transaction1\",\"Application Name\"=\"APP1\";Verb=\"GET\",\"Transaction Name\"=\"Transaction2\",\"Application Name\"=\"App2\";Verb=\"PUT\",\"Transaction Name\"=\"Transaction2\",\"Application Name\"=\"App2\"" 
| makemv data delim=";" 
| mvexpand data 
| rename data as _raw 
| extract pairdelim="," kvdelim="=" 
| eval "Status Code"=random() 
| rename "Transaction_Name" as "Transaction Name","Application_Name" as "Application Name" 
| eval _time=strptime(Timestamp, "%Y-%m-%dT%H:%M:%S.%3QZ")-14400
| eval key=Verb."|".'Transaction Name'."|".'Application Name'
| timechart span=1d count('Status Code') as count by key 
| eval service_id=case(Verb="GET" AND 'Transaction Name'="Transaction1" AND 'Application Name'="APP1", "ID1", 
    Verb="GET" AND 'Transaction Name'="Transaction2" AND 'Application Name'="App2", "ID2", 
    Verb="PUT" AND 'Transaction Name'="Transaction2" AND 'Application Name'="App2", "ID3") 
| eval Priority=case(Verb="GET" AND 'Transaction Name'="Transaction1" AND 'Application Name'="APP1", "2",
    Verb="GET" AND 'Transaction Name'="Transaction2" AND 'Application Name'="App2", "2", 
    Verb="PUT" AND 'Transaction Name'="Transaction2" AND 'Application Name'="App2", "1") 
| eval service_area=case(Verb="GET" AND 'Transaction Name'="Transaction1" AND 'Application Name'="APP1", "Area1",
    Verb="GET" AND 'Transaction Name'="Transaction2" AND 'Application Name'="App2", "Area2",
    Verb="PUT" AND 'Transaction Name'="Transaction2" AND 'Application Name'="App2", "Member")
| eval Time=strftime(_time,"%Y-%m-%d")
| fields - _*
| transpose 0 header_field="Time" column_name=key
| eval key=split(key,"|"), Verb=mvindex(key,0), "Transaction Name"=mvindex(key,1), "Application Name"=mvindex(key,2)
| fields - key
| fields Verb "Transaction Name" "Application Name" *&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 15 Aug 2020 06:09:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-populate-nonexistent-values-in-a-table/m-p/514220#M144323</guid>
      <dc:creator>niketn</dc:creator>
      <dc:date>2020-08-15T06:09:30Z</dc:date>
    </item>
    <item>
      <title>Re: How to populate nonexistent values in a table?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-populate-nonexistent-values-in-a-table/m-p/514236#M144329</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/201110"&gt;@niketn&lt;/a&gt;&amp;nbsp;- this is definitely helpful. We ended up getting a lot of assistance from&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/184221"&gt;@to4kawa&lt;/a&gt;&amp;nbsp;,&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/110013"&gt;@xpac&lt;/a&gt;&amp;nbsp;, and&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/205010"&gt;@Richfez&lt;/a&gt;&amp;nbsp;who successfully resolved the issue. It did boil down to the timestamp logic.&lt;/P&gt;&lt;P&gt;Here is the final and working SPL:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index=hcnc_mulesoft_test_new sourcetype=api_events_legacy_new
| rename "API Name" as api_name, "Application Name" as application_name, "Status Code" as status_code 
| eval service_id=case(Verb="GET" AND api_name="Provider Data Management API" AND application_name="PHP-AMHC", "PRO-I-001-0001", Verb="GET" AND api_name="Member Data API" AND application_name="Enrollment Broker", "MEM-I-001-0001", Verb="PUT" AND api_name="Member Data API" AND application_name="Enrollment Broker", "MEM-I-002-0001", 1=1, "Unqualified") 
| where service_id!="Unqualified" 
| eval Priority=case(Verb="GET" AND api_name="Provider Data Management API" AND application_name="PHP-AMHC", "2", Verb="GET" AND api_name="Member Data API" AND application_name="Enrollment Broker", "2", Verb="PUT" AND api_name="Member Data API" AND application_name="Enrollment Broker", "1", 1=1, "Unqualified") 
| where Priority!="Unqualified" 
| eval service_area=case(Verb="GET" AND api_name="Provider Data Management API" AND application_name="PHP-AMHC", "Provider", Verb="GET" AND api_name="Member Data API" AND application_name="Enrollment Broker", "Member", Verb="PUT" AND api_name="Member Data API" AND application_name="Enrollment Broker", "Member", 1=1, "Unqualified") 
| where service_area!="Unqualified" 
| eval combined=service_id."@".Verb."@".api_name."@".Priority."@".service_area."@".application_name."@" 
| timechart span=1d count(eval(status_code)) as count by combined 
| untable _time combined count 
| eval date=strftime(_time, "%Y-%m-%d") 
| xyseries combined date count 
| rex field=combined "^(?&amp;lt;service_id&amp;gt;[^@]+)@(?&amp;lt;Verb&amp;gt;[^@]+)@(?&amp;lt;api_name&amp;gt;[^@]+)@(?&amp;lt;Priority&amp;gt;[^@]+)@(?&amp;lt;service_area&amp;gt;[^@]+)@(?&amp;lt;application_name&amp;gt;[^@]+)@$" 
| fields - combined 
| table service_id Verb api_name Priority service_area application_name 
    [ makeresults 
    | addinfo 
    | eval time = mvappend(relative_time(info_min_time,"@d"),relative_time(info_max_time,"@d")) 
    | fields time 
    | mvexpand time 
    | makecontinuous time span=1d 
    | eval time=strftime(time,"%F") 
    | reverse 
    | stats list(time) as time 
    | return $time
        ] 
| rename service_id as "Service ID", Verb as "Resource Name", api_name as "API Name", Priority as "Priority", service_area as "Service Area", application_name as "Consumer"&lt;/LI-CODE&gt;</description>
      <pubDate>Sat, 15 Aug 2020 14:19:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-populate-nonexistent-values-in-a-table/m-p/514236#M144329</guid>
      <dc:creator>adnankhan5133</dc:creator>
      <dc:date>2020-08-15T14:19:58Z</dc:date>
    </item>
    <item>
      <title>Re: How to populate nonexistent values in a table?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-populate-nonexistent-values-in-a-table/m-p/514242#M144332</link>
      <description>&lt;P&gt;All my points for Performance improvement are still valid. Do include my SPL as well and check performance of your SPL vs mine using Job Inspector. I have tried to explain some of the basic Splunk Search Best practices (obviously SPL will still work without best practices as well.)&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://docs.splunk.com/Documentation/Splunk/latest/Search/Quicktipsforoptimization" target="_blank"&gt;https://docs.splunk.com/Documentation/Splunk/latest/Search/Quicktipsforoptimization&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 15 Aug 2020 15:33:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-populate-nonexistent-values-in-a-table/m-p/514242#M144332</guid>
      <dc:creator>niketn</dc:creator>
      <dc:date>2020-08-15T15:33:52Z</dc:date>
    </item>
  </channel>
</rss>

