<?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: Listing out dates and appending to search?? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Listing-out-dates-and-appending-to-search/m-p/522154#M147223</link>
    <description>&lt;P&gt;Should this "day column" go on a row of its own? What if you have more than one data rows for a particular day?&lt;/P&gt;&lt;P&gt;Maybe you want to have a look at the "bin" command (&lt;A href="https://docs.splunk.com/Documentation/Splunk/latest/SearchReference/Bin" target="_blank"&gt;https://docs.splunk.com/Documentation/Splunk/latest/SearchReference/Bin&lt;/A&gt;) to group your events by day with a "span=1d" parameter.&lt;/P&gt;</description>
    <pubDate>Wed, 30 Sep 2020 06:00:18 GMT</pubDate>
    <dc:creator>rvany</dc:creator>
    <dc:date>2020-09-30T06:00:18Z</dc:date>
    <item>
      <title>Listing out dates and appending to search??</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Listing-out-dates-and-appending-to-search/m-p/522037#M147186</link>
      <description>&lt;P&gt;I'm trying to list out all dates between my time picker and have that as a column in my table. I do both things individually but just not together &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;index="myindex"&lt;BR /&gt;| rex "jobID (?&amp;lt;jobid&amp;gt;\d+)"&lt;BR /&gt;| rex "dayID (?&amp;lt;dayid&amp;gt;\d+)"&lt;BR /&gt;| eval daydt=strptime(dayid, "%Y%m%d")&lt;BR /&gt;| eval daydt=strftime(daydt,"%Y-%m-%d")&lt;BR /&gt;| transaction jobid dayid endswith="data consumed for jobID"&lt;BR /&gt;|eval duration=tostring(duration,"duration")&lt;BR /&gt;| eval status=if(closed_txn=="0","Complete","Incomplete")&lt;BR /&gt;| appendpipe&lt;BR /&gt;[ |gentimes start=-1|addinfo|eval date=strftime(mvrange(info_min_time,info_max_time,"1d"),"%F")|mvexpand date&lt;BR /&gt;]&lt;BR /&gt;| sort -date&lt;BR /&gt;| table date closed_txn daydt _time duration&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can someone tell me whats wrong here?&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 16:16:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Listing-out-dates-and-appending-to-search/m-p/522037#M147186</guid>
      <dc:creator>tb5821</dc:creator>
      <dc:date>2020-09-29T16:16:10Z</dc:date>
    </item>
    <item>
      <title>Re: Listing out dates and appending to search??</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Listing-out-dates-and-appending-to-search/m-p/522051#M147190</link>
      <description>&lt;P&gt;What do you exactly mean with "all dates between my time picker"? What is the output of your SPL? What did you expect? Could you give some example data?&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 16:51:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Listing-out-dates-and-appending-to-search/m-p/522051#M147190</guid>
      <dc:creator>rvany</dc:creator>
      <dc:date>2020-09-29T16:51:38Z</dc:date>
    </item>
    <item>
      <title>Re: Listing out dates and appending to search??</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Listing-out-dates-and-appending-to-search/m-p/522066#M147197</link>
      <description>&lt;P&gt;if I select last 30 days - I want one column that has a row for each day regardless of what my main search has&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 17:27:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Listing-out-dates-and-appending-to-search/m-p/522066#M147197</guid>
      <dc:creator>tb5821</dc:creator>
      <dc:date>2020-09-29T17:27:58Z</dc:date>
    </item>
    <item>
      <title>Re: Listing out dates and appending to search??</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Listing-out-dates-and-appending-to-search/m-p/522068#M147198</link>
      <description>What should be in that one column? Can you mock it up?</description>
      <pubDate>Tue, 29 Sep 2020 17:59:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Listing-out-dates-and-appending-to-search/m-p/522068#M147198</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2020-09-29T17:59:24Z</dc:date>
    </item>
    <item>
      <title>Re: Listing out dates and appending to search??</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Listing-out-dates-and-appending-to-search/m-p/522154#M147223</link>
      <description>&lt;P&gt;Should this "day column" go on a row of its own? What if you have more than one data rows for a particular day?&lt;/P&gt;&lt;P&gt;Maybe you want to have a look at the "bin" command (&lt;A href="https://docs.splunk.com/Documentation/Splunk/latest/SearchReference/Bin" target="_blank"&gt;https://docs.splunk.com/Documentation/Splunk/latest/SearchReference/Bin&lt;/A&gt;) to group your events by day with a "span=1d" parameter.&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 06:00:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Listing-out-dates-and-appending-to-search/m-p/522154#M147223</guid>
      <dc:creator>rvany</dc:creator>
      <dc:date>2020-09-30T06:00:18Z</dc:date>
    </item>
  </channel>
</rss>

