hello
I export my search result to csv file
but when I open it the time just display like this
1.52E+09
index=maillog I timechart span=1d,count(eval(IP=×××)) as IP1 I outputcsv IP1
@fzfeng, can you try | convert ctime(_time)
please, that work for me:
index=_internal
| timechart span=1d count(eval(log_level=INFO)) as countInfo
| convert ctime(_time)
| outputcsv tst.csv
Can you try this :
This is more efficient
index=maillog IP=XXXX | bin _time span=1d | stats count as IP1 by _time
thank you I tried it
and i set the time range one month
the graph it displaied 3/27 3/29 3/31 4/2 4/4 .....
but the table displaied 3/37 3/28 3/29 3/31 4/1 4/2 ....
If the table has all the days, then everything is correct. The graph has all data points, it's just that not all labels are shown.
OK thank you very much
Are you seeing the issue when you are running |inputcsv IP1 .?
My understanding is that you are seeing the display 1.52E+09 when you download and open in excel .
If that is the case please increase the width size of the cell which gives excel enough space to display the value .
Thanks