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!

Index This | I’m short for "configuration file.” What am I?

May 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with a Special ...

New Articles from Academic Learning Partners, Help Expand Lantern’s Use Case Library, ...

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

Your Guide to SPL2 at .conf24!

So, you’re headed to .conf24? You’re in for a good time. Las Vegas weather is just *chef’s kiss* beautiful in ...