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!

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 ...