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
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!

Can’t Make It to Boston? Stream .conf25 and Learn with Haya Husain

Boston may be buzzing this September with Splunk University and .conf25, but you don’t have to pack a bag to ...

Splunk Lantern’s Guide to The Most Popular .conf25 Sessions

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

Unlock What’s Next: The Splunk Cloud Platform at .conf25

In just a few days, Boston will be buzzing as the Splunk team and thousands of community members come together ...