Monitoring Splunk

NAS logs integrating to Splunk

vid1
Explorer

we need a NAS logs integration to splunk but i dont know how to integrate .We have SC4s container. can anyone help on this

Labels (1)
0 Karma

vid1
Explorer

NAS (powerscale storage logs)  we  need syslog configuration in HF .how to config syslog in our hf

0 Karma

gcusello
SplunkTrust
SplunkTrust

Hi @vid1 ,

check if the Dell PowerScale Add-On for Splunk (https://splunkbase.splunk.com/app/2689) is the correct one for you.

Otherwise you have to create your own custom add-on.

Ciao.

Giuseppe

0 Karma

vid1
Explorer

that add on as not working .we can logs collect from syslog server  but i don't know how to configure 

0 Karma

gcusello
SplunkTrust
SplunkTrust

Hi @vid1 ,

are you speaking of output configuration on NAS or syslog input Configuration on SC4S?

About NAS, I cannot help you, you should search in the NAS Management menu.

About SC4S, I don't like it, I prefer to configure rsyslog (or syslog-ng) for receiving and then inputs on UF.

Ciao.

Giuseppe

0 Karma

vid1
Explorer

Yes, i need configuration rsyslog or syslog-ng on the Linux server

0 Karma

gcusello
SplunkTrust
SplunkTrust

Hi @vid1 ,

you have to configure three items in /etc/rsyslog.conf:

in the MODULES section:

module(load="imudp") # needs to be done just once

or 

module(load="imtcp") # needs to be done just once

depending on the protocol you're using.

then, in TEMPLATES  section:

template(name="tmpl-paloalto" type="string" string="/var/log/remote/%fromhost%/paloalto/%HOSTNAME%/paloalto_%$YEAR%-%$MONTH%-%$DAY%_%$HOUR%.log")

this string must be modified based on the path and the name of the files that must be written.

At least the rule to implement:

ruleset(name="writeRemoteData" queue.type="fixedArray" queue.size="250000" queue.dequeueBatchSize="4096" queue.workerThreads="4" queue.workerThreadMinimumMessages="60000")
{
  # network - paloalto
  if $HOSTNAME == "10.10.10.10" then {
    action(type="omfile" ioBufferSize="64k" flushOnTXEnd="off" asyncWriting="on" dynafile="tmpl-paloalto" DirCreateMode="0770" FileCreateMode="0660" template="fmt_default") stop
  }

this is the most important and difficoult part to implement, because you have to implement all your rules.

Ciao.

Giuseppe

0 Karma

gcusello
SplunkTrust
SplunkTrust

Hi @vid1 ,

what's your NAS technology? is there ad Add-On for it in apps.splunk.com?

if yes, install it on the Forwarder and on the Search Head.

Ciao.

Giuseppe

0 Karma
Get Updates on the Splunk Community!

Enterprise Security Content Update (ESCU) | New Releases

In December, the Splunk Threat Research Team had 1 release of new security content via the Enterprise Security ...

Why am I not seeing the finding in Splunk Enterprise Security Analyst Queue?

(This is the first of a series of 2 blogs). Splunk Enterprise Security is a fantastic tool that offers robust ...

Index This | What are the 12 Days of Splunk-mas?

December 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...