<?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 How can I write a search that returns _time in 1-second intervals even when _time stamp doesn't match a value? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-can-I-write-a-search-that-returns-time-in-1-second-intervals/m-p/367708#M108430</link>
    <description>&lt;P&gt;Hello Guys,&lt;/P&gt;

&lt;P&gt;I have a column &lt;CODE&gt;_time&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;Ex Values (Suppose the search has 4 events here):&lt;/STRONG&gt; &lt;BR /&gt;
2017-08-11 12:06:51&lt;BR /&gt;
2017-08-11 12:06:54&lt;BR /&gt;
2017-08-11 12:06:56&lt;BR /&gt;
2017-08-11 12:06:58&lt;/P&gt;

&lt;P&gt;Now my intention is I want &lt;CODE&gt;_time&lt;/CODE&gt; to increment by one second, that even though there is not row with 2017-08-11 12:06:52, I want to add a row with all other columns to be 0,&lt;/P&gt;

&lt;P&gt;So my new data should look like&lt;BR /&gt;
2017-08-11 12:06:51&lt;BR /&gt;
2017-08-11 12:06:52&lt;BR /&gt;
2017-08-11 12:06:53&lt;BR /&gt;
2017-08-11 12:06:54&lt;BR /&gt;
2017-08-11 12:06:55&lt;BR /&gt;
2017-08-11 12:06:56&lt;BR /&gt;
2017-08-11 12:06:57&lt;BR /&gt;
2017-08-11 12:06:58&lt;BR /&gt;
So all the appended time which was not there should have the other column entries of search as 0. The new search should have 8 events now.&lt;/P&gt;

&lt;P&gt;Can someone please help me with this, as I am not able to understand how to do it.&lt;/P&gt;

&lt;P&gt;Regards&lt;BR /&gt;
Shailendra Patil&lt;/P&gt;</description>
    <pubDate>Sat, 12 Aug 2017 00:13:06 GMT</pubDate>
    <dc:creator>patilsh</dc:creator>
    <dc:date>2017-08-12T00:13:06Z</dc:date>
    <item>
      <title>How can I write a search that returns _time in 1-second intervals even when _time stamp doesn't match a value?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-can-I-write-a-search-that-returns-time-in-1-second-intervals/m-p/367708#M108430</link>
      <description>&lt;P&gt;Hello Guys,&lt;/P&gt;

&lt;P&gt;I have a column &lt;CODE&gt;_time&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;Ex Values (Suppose the search has 4 events here):&lt;/STRONG&gt; &lt;BR /&gt;
2017-08-11 12:06:51&lt;BR /&gt;
2017-08-11 12:06:54&lt;BR /&gt;
2017-08-11 12:06:56&lt;BR /&gt;
2017-08-11 12:06:58&lt;/P&gt;

&lt;P&gt;Now my intention is I want &lt;CODE&gt;_time&lt;/CODE&gt; to increment by one second, that even though there is not row with 2017-08-11 12:06:52, I want to add a row with all other columns to be 0,&lt;/P&gt;

&lt;P&gt;So my new data should look like&lt;BR /&gt;
2017-08-11 12:06:51&lt;BR /&gt;
2017-08-11 12:06:52&lt;BR /&gt;
2017-08-11 12:06:53&lt;BR /&gt;
2017-08-11 12:06:54&lt;BR /&gt;
2017-08-11 12:06:55&lt;BR /&gt;
2017-08-11 12:06:56&lt;BR /&gt;
2017-08-11 12:06:57&lt;BR /&gt;
2017-08-11 12:06:58&lt;BR /&gt;
So all the appended time which was not there should have the other column entries of search as 0. The new search should have 8 events now.&lt;/P&gt;

&lt;P&gt;Can someone please help me with this, as I am not able to understand how to do it.&lt;/P&gt;

&lt;P&gt;Regards&lt;BR /&gt;
Shailendra Patil&lt;/P&gt;</description>
      <pubDate>Sat, 12 Aug 2017 00:13:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-can-I-write-a-search-that-returns-time-in-1-second-intervals/m-p/367708#M108430</guid>
      <dc:creator>patilsh</dc:creator>
      <dc:date>2017-08-12T00:13:06Z</dc:date>
    </item>
    <item>
      <title>Re: How can I write a search that returns _time in 1-second intervals even when _time stamp doesn't match a value?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-can-I-write-a-search-that-returns-time-in-1-second-intervals/m-p/367709#M108431</link>
      <description>&lt;P&gt;Hey @patilsh, This might help? &lt;A href="https://answers.splunk.com/answers/10147/how-to-show-events-per-second-in-timechart-regardless-of-span.html"&gt;https://answers.splunk.com/answers/10147/how-to-show-events-per-second-in-timechart-regardless-of-span.html&lt;/A&gt; I'm just a community moderator, so I'll keep an eye on the post and try new tags if no experts see it this weekend.&lt;/P&gt;</description>
      <pubDate>Sat, 12 Aug 2017 00:34:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-can-I-write-a-search-that-returns-time-in-1-second-intervals/m-p/367709#M108431</guid>
      <dc:creator>lfedak_splunk</dc:creator>
      <dc:date>2017-08-12T00:34:47Z</dc:date>
    </item>
    <item>
      <title>Re: How can I write a search that returns _time in 1-second intervals even when _time stamp doesn't match a value?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-can-I-write-a-search-that-returns-time-in-1-second-intervals/m-p/367710#M108432</link>
      <description>&lt;P&gt;You don't explain exactly what your search is, but you can probably get most of what you need to use by reading the following answers entry:&lt;/P&gt;

&lt;P&gt;&lt;A href="https://answers.splunk.com/answers/103432/how-to-replace-all-null-values-between-two-dates-min-and-max-replace-null-0-values-in-timechart-gantchart-coveragechart-coveragedashboard.html"&gt;https://answers.splunk.com/answers/103432/how-to-replace-all-null-values-between-two-dates-min-and-max-replace-null-0-values-in-timechart-gantchart-coveragechart-coveragedashboard.html&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;And here is the &lt;CODE&gt;fillnull&lt;/CODE&gt; documentation:&lt;/P&gt;

&lt;P&gt;&lt;A href="https://docs.splunk.com/Documentation/SplunkCloud/6.6.0/SearchReference/Fillnull"&gt;https://docs.splunk.com/Documentation/SplunkCloud/6.6.0/SearchReference/Fillnull&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 12 Aug 2017 04:59:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-can-I-write-a-search-that-returns-time-in-1-second-intervals/m-p/367710#M108432</guid>
      <dc:creator>cpetterborg</dc:creator>
      <dc:date>2017-08-12T04:59:06Z</dc:date>
    </item>
  </channel>
</rss>

