All Apps and Add-ons

PingDirectory App for Splunk log2metrics_json Souretype?

CAKirk
Observer

The PingDirectory App documentation states to use log2metrics_json as the sourcetype. The onprem Splunk v9.0 does not have this as a pretrained sourcetype. Need to get ping metrics logs from dsstats.json and I have created a metrics index and receive the following error when using the log2metrics_json sourcetype.

"....The metric event is not properly structured, source=/ping/latest/logs/dsstats.json, sourcetype=log2metrics_json, host=pdir0001, index=pdmetrics. Metric event data without a metric name and properly formated numerical values are invalid and cannot be indexed. Ensure the input metric data is not malformed....."

It appears that Splunk Cloud has the log2metrics_json sourcetype. If so, what are the configs needed for props and transforms needed to duplicate this?

0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Network to App: Observability Unlocked [May & June Series]

In today’s digital landscape, your environment is no longer confined to the data center. It spans complex ...

SPL2 Deep Dives, AppDynamics Integrations, SAML Made Simple and Much More on Splunk ...

Splunk Lantern is Splunk’s customer success center that provides practical guidance from Splunk experts on key ...

[Puzzles] Solve, Learn, Repeat: Matching cron expressions

This puzzle (first published here) is based on matching timestamps to cron expressions.All the timestamps ...