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!

Accelerating Observability as Code with the Splunk AI Assistant

We’ve seen in previous posts what Observability as Code (OaC) is and how it’s now essential for managing ...

Integrating Splunk Search API and Quarto to Create Reproducible Investigation ...

 Splunk is More Than Just the Web Console For Digital Forensics and Incident Response (DFIR) practitioners, ...

Congratulations to the 2025-2026 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...