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!

Say goodbye to manually analyzing phishing and malware threats with Splunk Attack ...

In today’s evolving threat landscape, we understand you’re constantly bombarded with phishing and malware ...

AppDynamics is now part of Splunk Ideas

Hello Splunkers, We have exciting news for you! AppDynamics has been added to the Splunk Ideas Portal. Which ...

Advanced Splunk Data Management Strategies

Join us on Wednesday, May 14, 2025, at 11 AM PDT / 2 PM EDT for an exclusive Tech Talk that delves into ...