how to get today date in the report .
I just need today date in one column and the time i will be using now()
Hi,
You can use the now() command provided by splunk to get the time of your server at that instance & use strftime command to evaluate today (%d) will give u todays date.
Below is an example:
| makeresults | eval Now =now() | eval today= strftime(Now,"%d-%m-%Y : %H:%M:%S") | table today
The parameters of strftime you can edit according to your need.
Hi splunkambarish,
could you share more details?
Bye.
Giuseppe