Dashboards & Visualizations

How to convert epoch time field when using it as value in chart command

mah
Builder

Hi,

I have a table built with a chart command : 

| stats count  by _time Id statut
| xyseries Id statut _time

Before using xyseries command, _time values was readable but after applying xyseries command we get epoch time like this :

mah_0-1632154167797.png

Can you help me to transform the epoch time to readable time ?

Labels (1)
0 Karma
1 Solution

ashvinpandey
Contributor

@mah use the below command :

| convert ctime(field_name1) ctime(fieldname2) ctime(fieldname3)

Also, If this reply helps you, an upvote would be appreciated

View solution in original post

ashvinpandey
Contributor

@mah use the below command :

| convert ctime(field_name1) ctime(fieldname2) ctime(fieldname3)

Also, If this reply helps you, an upvote would be appreciated

mah
Builder

@ashvinpandey thanks a lot ! It works properly

0 Karma
Get Updates on the Splunk Community!

Get Your Exclusive Splunk Certified Cybersecurity Defense Engineer at Splunk .conf24 ...

We’re excited to announce a new Splunk certification exam being released at .conf24! If you’re headed to Vegas ...

Share Your Ideas & Meet the Lantern team at .Conf! Plus All of This Month’s New ...

Splunk Lantern is Splunk’s customer success center that provides advice from Splunk experts on valuable data ...

Combine Multiline Logs into a Single Event with SOCK: a Step-by-Step Guide for ...

Combine multiline logs into a single event with SOCK - a step-by-step guide for newbies Olga Malita The ...