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!

Continuing Innovation & New Integrations Unlock Full Stack Observability For Your ...

You’ve probably heard the latest about AppDynamics joining the Splunk Observability portfolio, deepening our ...

Monitoring Amazon Elastic Kubernetes Service (EKS)

As we’ve seen, integrating Kubernetes environments with Splunk Observability Cloud is a quick and easy way to ...

Cloud Platform & Enterprise: Classic Dashboard Export Feature Deprecation

As of Splunk Cloud Platform 9.3.2408 and Splunk Enterprise 9.4, classic dashboard export features are now ...