Splunk Search

Tar'ing index so that it is distributable to other Splunk instance

Nicholas_Key
Splunk Employee
Splunk Employee

[1] I would like to know if I can tar an index from a Splunk instance and then untar it into other Splunk instance?

[2] Would untar'ing the index overwrites the already existing events of that other Splunk instance?

Tags (1)
0 Karma
1 Solution

gkanapathy
Splunk Employee
Splunk Employee
  1. Yes you can.
  2. Copy it to a new index instead and it won't. If you are trying to merge index contents, then you should only copy individual buckets (i.e. exclude index-level metadata), and make sure the bucket ID numbers are changed so there are no conflicts. Or delete the old index first if you are not trying to merge.

View solution in original post

gkanapathy
Splunk Employee
Splunk Employee
  1. Yes you can.
  2. Copy it to a new index instead and it won't. If you are trying to merge index contents, then you should only copy individual buckets (i.e. exclude index-level metadata), and make sure the bucket ID numbers are changed so there are no conflicts. Or delete the old index first if you are not trying to merge.

Nicholas_Key
Splunk Employee
Splunk Employee

Thanks! I'll try this out.

0 Karma
Get Updates on the Splunk Community!

Get Your Exclusive Splunk Certified Cybersecurity Defense Engineer at Splunk .conf24 ...

We’re excited to announce a new Splunk certification exam being released at .conf24! If you’re headed to Vegas ...

Share Your Ideas & Meet the Lantern team at .Conf! Plus All of This Month’s New ...

Splunk Lantern is Splunk’s customer success center that provides advice from Splunk experts on valuable data ...

Combine Multiline Logs into a Single Event with SOCK: a Step-by-Step Guide for ...

Combine multiline logs into a single event with SOCK - a step-by-step guide for newbies Olga Malita The ...