@gcusello Thanks for your reply and I got solution as well. I have looked to that doc and got some ideas. Now I'm able to print the date range in Tabular format.
My code looks like this and it's working perfectly
....|addinfo| eval startDate= strftime(info_min_time,"%Y-%m-%d")| eval endDate= strftime(info_max_time,"%Y-%m-%d")|table startDate endDate.
Thanks again.
And I'm trying to use like this
.....|eval startDate = $job.earliestTime$ | eval endDate = $job.latestTime$ | table startDate endDate
Hi @satyajit7,
see the addinfo command (https://docs.splunk.com/Documentation/Splunk/latest/SearchReference/Addinfo)
you need info_min_time and info_max_time.
ciao.
Giuseppe
@gcusello Thanks for your reply and I got solution as well. I have looked to that doc and got some ideas. Now I'm able to print the date range in Tabular format.
My code looks like this and it's working perfectly
....|addinfo| eval startDate= strftime(info_min_time,"%Y-%m-%d")| eval endDate= strftime(info_max_time,"%Y-%m-%d")|table startDate endDate.
Thanks again.
Hi @satyajit7,
good for your and see next time!
Ciao and happy splunking.
Giuseppe
P.S.: Karma Points are appreciated 😉