Getting Data In

Forwarder - Apache

tuplink
New Member

i am trying to get the forwarder to work with apache logs from the CLI

i issue the command
"./splunk input add monitor /var/log/apache2/"
and get this message
"Parameters must be in the form '-parameter value'"

0 Karma
1 Solution

rturk
Builder

You have provided the incorrect command. Try removing 'input' so it reads:

splunk add monitor /var/log/apache2/

As per the docs - Use the CLI

This should fix it for you 🙂

View solution in original post

0 Karma

rturk
Builder

You have provided the incorrect command. Try removing 'input' so it reads:

splunk add monitor /var/log/apache2/

As per the docs - Use the CLI

This should fix it for you 🙂

0 Karma

tuplink
New Member

thank you the CLI Can be so confusing

0 Karma
Get Updates on the Splunk Community!

Fall Into Learning with New Splunk Education Courses

Every month, Splunk Education releases new courses to help you branch out, strengthen your data science roots, ...

Super Optimize your Splunk Stats Searches: Unlocking the Power of tstats, TERM, and ...

By Martin Hettervik, Senior Consultant and Team Leader at Accelerate at Iver, Splunk MVPThe stats command is ...

How Splunk Observability Cloud Prevented a Major Payment Crisis in Minutes

Your bank's payment processing system is humming along during a busy afternoon, handling millions in hourly ...