Getting Data In

Has anyone deployed ansible playbook for splunk forwarder?

chaga
New Member

Hi all,

I am trying to set up ansible playbook for splunk forwarder. Though github completely doesnot help. Has anyone automated it? If i want to add logs for monitoring with multiple source types and with different logs? how can i do this:

for ex:

  • name: add temporary monitor to create directory command: "{{ splunkhome }} add monitor {{ item }} -sourcetype syslog -auth {{ splunkcreds }}" with_items: - /var/log/syslog notify: restart_splunk

how can i use multiple logs and for each logs each source type is necessary? Any suggestions ?

0 Karma
Get Updates on the Splunk Community!

What's new in Splunk Cloud Platform 9.1.2312?

Hi Splunky people! We are excited to share the newest updates in Splunk Cloud Platform 9.1.2312! Analysts can ...

What’s New in Splunk Security Essentials 3.8.0?

Splunk Security Essentials (SSE) is an app that can amplify the power of your existing Splunk Cloud Platform, ...

Let’s Get You Certified – Vegas-Style at .conf24

Are you ready to level up your Splunk game? Then, let’s get you certified live at .conf24 – our annual user ...