Getting Data In

DB Connect - EPOCH TimeStamp

j666gak
Communicator

Hi,

I'm currently indexing my WHMCS logs using DB Connect. I need know how to change existing indexed time (EPOCH) and from now on the time needs indexing in a human readable format. Please can somebody help me.

id=479 date=1394496047.000 description="Cron Job: Starting Database Backup" user=System userid=0 ipaddr=


id=478 date=1394496047.000 description="DB Tables Optimized by WHMCS Cleaner" user=System userid=0 ipaddr=


id=477 date=1394496040.000 description="VCards Updated" user=System userid=0 ipaddr=


id=476 date=1394496038.000 description="Admin Email Notification Sending Failed - PHPMailer Exception - SMTP connect() failed. (Subject: WHMCS Cron Job Activity)" user=System userid=0 ipaddr=

Many thanks

0 Karma
1 Solution

jcoates_splunk
Splunk Employee
Splunk Employee

Hi,

Epoch time is a good thing on the output, see the docs for more information. That said, you can use the convert command to switch to human readable in your searches and reports.

View solution in original post

jcoates_splunk
Splunk Employee
Splunk Employee

Hi,

Epoch time is a good thing on the output, see the docs for more information. That said, you can use the convert command to switch to human readable in your searches and reports.

linu1988
Champion

that wont be possible i guess, better you do a eval field in props.conf

0 Karma
Get Updates on the Splunk Community!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...