Splunk Search

Time part is discarding

sheshanath
Loves-to-Learn Lots

I have a timestamp variable  EmailSendAt=2020-07-15 05:52:13.186 , 

Whenever I am using
stats value(EmailSendAt) as time..

It shows me only Date part.. Time part is discarding. (I used table also but no change happen)

Labels (1)
0 Karma

to4kawa
Ultra Champion
index=_internal |head 1| fields _raw _time 
| eval _raw="EmailSendAt=2020-07-15 05:52:13.186 , "
| rename COMMENT as "the logic"
| kv

your fields extractions is wrong. try kv

0 Karma

sheshanath
Loves-to-Learn Lots

EmailSendAt is a field and whenever I pull this field with by 

stats values(EmailSendAt) as time .... it shows only date part.

 

For example suppose 

EmailSendAt=2020-07-15 05:52:13.186

then using  stats values(EmailSendAt) as time  only shows me date part. Please help

.

Thanks 

0 Karma

to4kawa
Ultra Champion

try kv before stats

0 Karma
Get Updates on the Splunk Community!

Automatic Discovery Part 1: What is Automatic Discovery in Splunk Observability Cloud ...

If you’ve ever deployed a new database cluster, spun up a caching layer, or added a load balancer, you know it ...

Real-Time Fraud Detection: How Splunk Dashboards Protect Financial Institutions

Financial fraud isn't slowing down. If anything, it's getting more sophisticated. Account takeovers, credit ...

Splunk + ThousandEyes: Correlate frontend, app, and network data to troubleshoot ...

 Are you tired of troubleshooting delays caused by siloed frontend, application, and network data? We've got a ...