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!

Observability Unlocked: Kubernetes Monitoring with Splunk Observability Cloud

 Ready to master Kubernetes and cloud monitoring like the pros? Join Splunk’s Growth Engineering team for an ...

Update Your SOAR Apps for Python 3.13: What Community Developers Need to Know

To Community SOAR App Developers - we're reaching out with an important update regarding Python 3.9's ...

October Community Champions: A Shoutout to Our Contributors!

As October comes to a close, we want to take a moment to celebrate the people who make the Splunk Community ...