Getting Data In

How to get all configuration files in my deployment in a file?

rene847
Path Finder

Hi all,
I would like to know how to get all configuration files in my deployment in a file (for each Splunk instance)?
I have :
- 1 Management Console
- 1 Search head
- 2 Indexers
- 2 Universal forwarder (with vip)
(everything is redundant (doubled configuration))
Tks
Best Regards

1 Solution

gfuente
Motivator

Also there is a CLI command:

splunk diag

That creates a file with all the config files, logs, system info... usually requested by support guys to troubleshoot issues.

Maybe this could serve you too

Regards

View solution in original post

gfuente
Motivator

Also there is a CLI command:

splunk diag

That creates a file with all the config files, logs, system info... usually requested by support guys to troubleshoot issues.

Maybe this could serve you too

Regards

chanfoli
Builder

Your question is not very clear to me but I will tell you that configuration items in splunk are spread in several directories depending on changes made at the app level and any system level changes and are merged according to precedence rules. You can read about how this works here:

http://docs.splunk.com/Documentation/Splunk/6.2.1/Admin/Wheretofindtheconfigurationfiles

You can use btool to investigate what the active configuration on a splunk instance:

http://docs.splunk.com/Documentation/Splunk/6.2.1/Troubleshooting/Usebtooltotroubleshootconfiguratio...

To capture every configuration item in a single file you would basically need to archive [SPLUNKHOME]/etc/apps and [SPLUNKHOME]/etc/system directories.

0 Karma

rene847
Path Finder

Ok, thank you for your answer.
Regards

0 Karma
Get Updates on the Splunk Community!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

Splunk is officially part of Cisco

Revolutionizing how our customers build resilience across their entire digital footprint.   Splunk ...

Splunk APM & RUM | Planned Maintenance March 26 - March 28, 2024

There will be planned maintenance for Splunk APM and RUM between March 26, 2024 and March 28, 2024 as ...