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!

Combine Multiline Logs into a Single Event with SOCK - a Guide for Advanced Users

This article is the continuation of the “Combine multiline logs into a single event with SOCK - a step-by-step ...

Everything Community at .conf24!

You may have seen mention of the .conf Community Zone 'round these parts and found yourself wondering what ...

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 ...