Splunk SOAR (f.k.a. Phantom)

How to import containers via rest api?

dennyw
Engager

We have a need to migrate our phantom data to another instance including the containers. 

Though it's not listed in REST Containers - Splunk Documentation, i was able to export the containers via /rest/container/{id}/export

however, i didn't find the rest endpoint for importing the containers.

any advice will be appreciated.

Labels (1)
0 Karma
1 Solution

phanTom
SplunkTrust
SplunkTrust

@dennyw I think you would be better backing up and restoring to the other system *(must be the same version). The REST call you did pulls down individual files containing the container JSON.

I am not aware of a way to import the .gz files via REST with the only way being the manual press of the Import button.

You may even be better off using a script to hit REST to GET from the old and POST to the new system. You would likely need to remove container id's and source_data_identifiers before POSTing.

As you can see there are a few ways to do things in SOAR!

-- If this helped, please mark as a solution! Happy SOARing --

View solution in original post

0 Karma

phanTom
SplunkTrust
SplunkTrust

@dennyw I think you would be better backing up and restoring to the other system *(must be the same version). The REST call you did pulls down individual files containing the container JSON.

I am not aware of a way to import the .gz files via REST with the only way being the manual press of the Import button.

You may even be better off using a script to hit REST to GET from the old and POST to the new system. You would likely need to remove container id's and source_data_identifiers before POSTing.

As you can see there are a few ways to do things in SOAR!

-- If this helped, please mark as a solution! Happy SOARing --

0 Karma
Get Updates on the Splunk Community!

Join Us for Splunk University and Get Your Bootcamp Game On!

If you know, you know! Splunk University is the vibe this summer so register today for bootcamps galore ...

.conf24 | Learning Tracks for Security, Observability, Platform, and Developers!

.conf24 is taking place at The Venetian in Las Vegas from June 11 - 14. Continue reading to learn about the ...

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...