Hi,
Is it possible to reformat the _time, for example, remove the day so only the month and the year will remain?
I have a query here:
index="sample_data" sourcetype="management_sampledata.csv"
| fields*
| search Status="*" "Ticket Type"="*" Priority="*" Ticket_No=*
| rename "Reported Date" as Reported_Date
| eval _time = strptime(Reported_Date, "%m/%d/%y") | timechart span=1mon count(eval(Status="Closed" OR Status="Cancelled")) as Closed/Cancelled, count as Inflow
| eval Backlog_Total = Inflow - 'Closed/Cancelled'
| accum Backlog_Total as Backlog_Total(acccumulation)
| fields - Backlog_Total
This code is good, but my problem with this is when I visualize it into a chart.
If you notice, if I hover over the chart, it shows the date, now what I want is for the month and the year to show only.
Is there any possible way to do this?
... View more