Quantcast
Channel: Questions in topic: "splunk-enterprise"
Viewing all articles
Browse latest Browse all 47296

How can i get a timestamp when time only shows time and date is randomly assigned on other lines?

$
0
0
Stumped here. I have a logfile that looks like 18:21:05 (lmgrd) TIMESTAMP 8/16/2017 18:26:06 (ansyslmd) TIMESTAMP 8/16/2017 18:05:35 (ansyslmd) OUT: "hfss_solve" rv@rv.com 18:05:50 (ansyslmd) IN: "hfss_solve" rv@rv.com 18:20:32 (ansyslmd) OUT: "hfss_solve" rv@rv.com 18:20:32 (ansyslmd) IN: "hfss_solve" rv@rv.com 18:21:05 (lmgrd) TIMESTAMP 8/17/2017 18:26:06 (ansyslmd) TIMESTAMP 8/17/2017 19:28:24 (ansyslmd) OUT: "hfss_solve" rv@rv.com 19:28:37 (ansyslmd) IN: "hfss_solve" rv@rv.com 19:36:27 (ansyslmd) OUT: "hfss_solve" rv@rv.com 19:36:39 (ansyslmd) IN: "hfss_solve" rv@rv.com The time part is correct on the left. And whenever a 'TIMESTAMP' line shows up id like to make that the correct 'date' portion of the timestamp used for the event in Splunk. Can somebody tell me how to get this done. Im expecting ill need to setup a new sourcetype in Splunk for it. Can someone give me an outline of how to get this done here? Thank you.

Viewing all articles
Browse latest Browse all 47296

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>