Getting Data In

Is there a best practice for using a time dimension with _metrics Data?

jordanking1992
Path Finder

Hello,

Working with a team that is sending some custom paramters via metrics data. They are trying to include a dimension that contains a data, but Splunk is not accepting of the date.

release:1,component:test,team:TestTeam,repo_branch:master,version:3,eventTimestamp:2022-03-22T14:46:41.048881800

My guess is that Splunk doesn't like the colon's in the timestamp but a bit unsure. The team wants to be able to send time within the metrics for later analysis using eval commands after indexing.

Is there a best practice for including a time dimension/value within metrics data? (i.e epoch/UNIX time)

Labels (2)
0 Karma

ITWhisperer
SplunkTrust
SplunkTrust

You should be able to configure the timestamp recognition for your sourcetype to match the format used in your messages

https://docs.splunk.com/Documentation/Splunk/8.2.5/Data/Configuretimestamprecognition 

0 Karma
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Take Action Automatically on Splunk Alerts with Red Hat Ansible Automation Platform

 Are you ready to revolutionize your IT operations? As digital transformation accelerates, the demand for ...

Calling All Security Pros: Ready to Race Through Boston?

Hey Splunkers, .conf25 is heading to Boston and we’re kicking things off with something bold, competitive, and ...

Beyond Detection: How Splunk and Cisco Integrated Security Platforms Transform ...

Financial services organizations face an impossible equation: maintain 99.9% uptime for mission-critical ...