Getting Data In

How do you parse a log with one JSON object per line which is being sent by a forwarder?

wtanaka
Explorer

this solution worked for me for log files that are on the same machine as the splunk server. But when I started forwarding logs from a universal forwarder on a separate machine to the same server, the same props.conf and transforms.conf setup no longer parses out the timestamp. When do props.conf and transforms.conf get applied? Do the raw log lines get forwarded to the server, where they are parsed with props/transforms? Or do I need to apply props/transforms on the universal forwarder machine?

0 Karma

rroberts
Splunk Employee
Splunk Employee

Check out this document if you haven't already.
Where do I configure my Splunk Settings?

0 Karma
Get Updates on the Splunk Community!

Introducing Splunk Enterprise 9.2

WATCH HERE! Watch this Tech Talk to learn about the latest features and enhancements shipped in the new Splunk ...

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...