Dashboards & Visualizations

How to convert this date in dropdown in dashboard


how do I covert the date that is in dropdown to "Y-M-D". 

I dont want the other stuff next to it (T00:). 

index="main" | eval _time = strptime('close_approach_data{}.close_approach_date', "%Y-%m-%d") | table _time | dedup _time



Labels (1)
Tags (1)
0 Karma

      <input type="dropdown" token="datefilter">
        <label>Select Date</label>
          <query>index="main" | eval date = strptime('close_approach_data{}.close_approach_date', "%Y-%m-%d") | table date | dedup date | eval showdate=strftime(date, "%Y-%m-%d")</query>
0 Karma
Get Updates on the Splunk Community!

Splunk APM & RUM | Upcoming Planned Maintenance

There will be planned maintenance of Splunk APM’s and Splunk RUM’s streaming infrastructure in the coming ...

Part 2: Diving Deeper With AIOps

Getting the Most Out of Event Correlation and Alert Storm Detection in Splunk IT Service Intelligence   Watch ...

User Groups | Upcoming Events!

If by chance you weren't already aware, the Splunk Community is host to numerous User Groups, organized ...