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!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...