splunk / splunk-ansible

Ansible playbooks for configuring and managing Splunk Enterprise and Universal Forwarder deployments
355 stars 186 forks source link

Setup index, transform, RBAC on splunk_standalone? #718

Open juju4 opened 1 year ago

juju4 commented 1 year ago

Thanks for the collection. I'm using it with role splunk_standalone but have difficulties how to set up few things. Data is ingested from port 9997 and for, now everything goes to main index.

It would be a nice example to add to documentation as this is common setup IMHO.

juju4 commented 1 year ago

I managed to split index with multiple splunk HEC and matching index as defined in /opt/splunk/etc/apps/search/local/inputs.conf and /opt/splunk/etc/apps/search/local/indexes.conf but I believe this needs to be set outside of role as hec variable seems to define only a single entry.