Dashboards & Visualizations

_time field in not in proper format when display inside the Dashboard Studio?

syazwani
Path Finder

Hi,

I need help to fine tuned my SPL Query. _time field is not properly formatted when we configure it in dashboard.

index=sslvpn sourcetype="sslvpnsourcetype"  action=failure
| iplocation accessIP
| search Country ="Canada"
| stats values(accessIP), count by user, _time, reason
| eval _time=strftime(_time, "%d/%m/%Y %I:%M:%S %p")
| table _time, user, values(accessIP), reason, count
| rename user as Username, values(accessIP) as "Access IP", reason as "Reason", count as Count



This is the result table(_time column) when running on search and reporting app:

syazwani_0-1666249549903.png

This is the result (_time column) when we configure in dashboard (Dashboard Studio):

syazwani_1-1666249618139.png

Please assist us. Thank you.

 

 



 

 

 

Labels (2)
0 Karma
1 Solution

syazwani
Path Finder

found the silly mistake... need to rename the _time column


| table _time, user, values(accessIP), reason, count
| rename user as Username, values(accessIP) as "Access IP", reason as "Reason",
_time as Time

 and it worked.....

View solution in original post

0 Karma

syazwani
Path Finder

found the silly mistake... need to rename the _time column


| table _time, user, values(accessIP), reason, count
| rename user as Username, values(accessIP) as "Access IP", reason as "Reason",
_time as Time

 and it worked.....

0 Karma
Get Updates on the Splunk Community!

Index This | What is broken 80% of the time by February?

December 2025 Edition   Hayyy Splunk Education Enthusiasts and the Eternally Curious!    We’re back with this ...

Unlock Faster Time-to-Value on Edge and Ingest Processor with New SPL2 Pipeline ...

Hello Splunk Community,   We're thrilled to share an exciting update that will help you manage your data more ...

Splunk MCP & Agentic AI: Machine Data Without Limits

Discover how the Splunk Model Context Protocol (MCP) Server can revolutionize the way your organization uses ...