Installation

Not to send the particular logs to specific target

pankajupadhyay
Path Finder

Hi,

I want to send all the event to two target group but do not want spend specific log event to specific target but it should get rest of the data. 

This config need to be define on Splunk HF.

Please help me in that.

Labels (3)

493669
Super Champion

@pankajupadhyay 
Refer Splunk Docs-https://docs.splunk.com/Documentation/Splunk/8.0.6/Forwarding/Routeandfilterdatad#Filter_and_route_e... 

This contains exactly what you are referring in question.  let us know if it helps!

0 Karma

pankajupadhyay
Path Finder

@493669 

 

I wanna forward these speicifi events only to target destination but it is senidng other event too.

Transforms.conf
[logs_type1]
REGEX = (logged out|Rejected password for user|Cannot login|logged in as|Accepted user for user|was updated on host|Password was changed for account|Destroy VM called)
DEST_KEY = _TCP_ROUTING
FORMAT = esxireceivier

 

Props.conf

[vmw_logs]
TRANSFORMS-routing=logs_type1

 

 

 

Can you please help me in that ?

0 Karma

vikramyadav
Contributor

Hi @pankajupadhyay , you can specify the destination host in outputs.conf

eg:-
outputs.conf

[tcpout:esxireceivier]

server=your_destination_ip:port

--------------------------------------------------------

If this helps your like will be appreciated😀

 

Get Updates on the Splunk Community!

Get Schooled with Splunk Education: Explore Our Latest Courses

At Splunk Education, we’re dedicated to providing incredible learning experiences that cater to every skill ...

Splunk AI Assistant for SPL | Key Use Cases to Unlock the Power of SPL

Splunk AI Assistant for SPL | Key Use Cases to Unlock the Power of SPL  The Splunk AI Assistant for SPL ...

Buttercup Games: Further Dashboarding Techniques (Part 5)

This series of blogs assumes you have already completed the Splunk Enterprise Search Tutorial as it uses the ...