<?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: splunk dash board in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-sort-by-date-mm-dd-yy/m-p/668847#M54744</link>
    <description>&lt;P&gt;Format your time after stats and sorting&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| bin _time span=1d
| stats count by _time
| sort 0 - _time
| fieldformat _time=strftime(_time,"%m-%d-%y")&lt;/LI-CODE&gt;</description>
    <pubDate>Thu, 16 Nov 2023 11:13:55 GMT</pubDate>
    <dc:creator>ITWhisperer</dc:creator>
    <dc:date>2023-11-16T11:13:55Z</dc:date>
    <item>
      <title>How to sort by date mm-dd-yy</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-sort-by-date-mm-dd-yy/m-p/668841#M54743</link>
      <description>&lt;P&gt;For my dashboard, I am using the following regex. Although the current date is displayed at the end of the dashboard and the oldest date is displayed at the top, I require the date format to be mm-dd-yy only. My dashboard should show the most recent date at the top. Give me your finest recommendations, please.&lt;BR /&gt;&lt;BR /&gt;| eval date=strftime(_time, "%m-%d-%y") | stats count by date,&lt;/P&gt;</description>
      <pubDate>Thu, 16 Nov 2023 11:16:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-sort-by-date-mm-dd-yy/m-p/668841#M54743</guid>
      <dc:creator>dinuManick</dc:creator>
      <dc:date>2023-11-16T11:16:48Z</dc:date>
    </item>
    <item>
      <title>Re: splunk dash board</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-sort-by-date-mm-dd-yy/m-p/668847#M54744</link>
      <description>&lt;P&gt;Format your time after stats and sorting&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| bin _time span=1d
| stats count by _time
| sort 0 - _time
| fieldformat _time=strftime(_time,"%m-%d-%y")&lt;/LI-CODE&gt;</description>
      <pubDate>Thu, 16 Nov 2023 11:13:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-sort-by-date-mm-dd-yy/m-p/668847#M54744</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2023-11-16T11:13:55Z</dc:date>
    </item>
    <item>
      <title>Re: splunk dash board</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-sort-by-date-mm-dd-yy/m-p/668848#M54745</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;here is one way to do it&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| eval date=strftime(_time,"%m-%d-%y"), date_s = strftime(_time, "%Y%m%d")
| stats count values(date) as date by date_s
| sort 0 - date_s
| table date count&lt;/LI-CODE&gt;&lt;P&gt;You are needing a field which is numeric and can sorted by your wanted way.&lt;/P&gt;&lt;P&gt;r. Ismo&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 16 Nov 2023 11:14:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-sort-by-date-mm-dd-yy/m-p/668848#M54745</guid>
      <dc:creator>isoutamo</dc:creator>
      <dc:date>2023-11-16T11:14:59Z</dc:date>
    </item>
    <item>
      <title>Re: How to sort by date mm-dd-yy</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-sort-by-date-mm-dd-yy/m-p/668858#M54747</link>
      <description>&lt;P&gt;Manipulating date in string format is counter-productive. Either render your date to string at the very end of your pipeline or (even better) use fieldformat to display the field in string format but keep it in numerical form so it's easier to deal with.&lt;/P&gt;</description>
      <pubDate>Thu, 16 Nov 2023 12:26:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-sort-by-date-mm-dd-yy/m-p/668858#M54747</guid>
      <dc:creator>PickleRick</dc:creator>
      <dc:date>2023-11-16T12:26:29Z</dc:date>
    </item>
    <item>
      <title>Re: splunk dash board</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-sort-by-date-mm-dd-yy/m-p/668869#M54748</link>
      <description>&lt;P&gt;Super , This is functioning, however the column is shifting. But thank you, I now have a solution.&lt;/P&gt;</description>
      <pubDate>Thu, 16 Nov 2023 13:04:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-sort-by-date-mm-dd-yy/m-p/668869#M54748</guid>
      <dc:creator>dinuManick</dc:creator>
      <dc:date>2023-11-16T13:04:14Z</dc:date>
    </item>
    <item>
      <title>Re: splunk dash board</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-sort-by-date-mm-dd-yy/m-p/668870#M54749</link>
      <description>&lt;P&gt;Fantastic, many thanks This appears simple, and my output hasn't changed, i got latest date in top of the table now . Thank you&lt;/P&gt;</description>
      <pubDate>Thu, 16 Nov 2023 13:06:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-sort-by-date-mm-dd-yy/m-p/668870#M54749</guid>
      <dc:creator>dinuManick</dc:creator>
      <dc:date>2023-11-16T13:06:18Z</dc:date>
    </item>
  </channel>
</rss>

