Artica Wiki

Send events to Splunk server

Artica allows you to send events from multiple sources like Squid, Nginx, SSH to a remote Spunk Server

Back to Syslog service

Overview

Artica is Splunk Universal Forwarders (UF) compliance

Universal Forwarders provide reliable, secure data collection from various sources and deliver the data to Splunk Enterprise or Splunk Cloud for indexing and analysis. There are several types of forwarders, but the most common is the universal forwarder, a small footprint agent, installed directly on an endpoint. Forwarders automatically send file-based data of any sort to the Splunk indexer. In most cases these are log events of some sort, but the files can contain any data in any format.

Events and Source Types

Artica sends the following events wrapped in different sources types to Splunk Server:

Installation

To install the Splunk Universal Forwarders go to:

  1. Your system menu
  2. Select Features
  3. On Featues page search by "splunk"
  4. Clink on the button install

splunk_1.png

Setup Universarl Forward

To setup the Splunk Universal Forwarders go to:

  1. Your system menu
  2. Splunk
  3. Enter the Splunk server address and the Receive data port of Splunk Server
  4. If you use authentication on Splunk Server, enter the Username and Password
  5. Click Apply

splunk_2.png

If the service status is green the Universal Forwarders is ready to send data to the Splunk Server
splunk_3.png

Setup Splunk Server

Install Addon

  1. Download the add-on from Splunkbase https://splunkbase.splunk.com/app/5652/ .
  2. From the Splunk Web home screen, click the gear icon next to Apps.
  3. Click Install app from file.
  4. Locate the downloaded file and click Upload.
  5. If Splunk Enterprise prompts you to restart, do so.
  6. Verify that the add-on appears in the list of apps and add-ons. You can also find it on the server at $SPLUNK_HOME/etc/apps/<Name_of_add-on>.

Examples

SQUID

access.log

Squid saves key information about HTTP and ICP transactions in access.log. To see the Squid access.log events on Splunk Server, search by source type artica🦑access
splunk_4.png

It possible filter the results by fields, for example you can filter the results by a specific category name, in this example we want to show all the records that contains the category name "Google", so we search by artica🦑access category_name=Google
splunk_5.png

NGINX

access.log

NGINX writes information about client requests in the access log right after the request is processed. To see the NGINX access.log events on Splunk Server, search by source type artica:nginx:access
splunk_6.png

error.log

NGINX writes information about encountered issues of different severity levels to the error log. To see the NGINX error.log events on Splunk Server, search by source type artica:nginx:error
splunk_12.png

SSH

sshd.log

To see the ssh events on Splunk Server, search by source type artica:ssh
splunk_13.png

AUTH

auth.log

auth.log keeps authentication events for both successful or failed logins, and authentication processes.To see the auth events on Splunk Server, search by source type artica:auth
splunk_14.png

Troubleshooting

Can't install Splunk Universal Forwarders

When you try install the Splunk Universal Forwarders and if the install button is disable with the message "not installed", it means that the Universal Forwarders binary is not installed on the server.
splunk_11.png

To fix this, go to:

  1. Your System
  2. Vesrions
  3. On versions page search by "Splunk"
  4. Clink on the button "Install or Upgrade"
  5. On popup window, select the lasted version and click again on the button "Install or Upgrade"
    splunk_10.png