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!

Splunk Enterprise Security 8.0.2 Availability: On cloud and On-premise!

A few months ago, we released Splunk Enterprise Security 8.0 for our cloud customers. Today, we are excited to ...

Logs to Metrics

Logs and Metrics Logs are generally unstructured text or structured events emitted by applications and written ...

Developer Spotlight with Paul Stout

Welcome to our very first developer spotlight release series where we'll feature some awesome Splunk ...