All Apps and Add-ons

What are the inflight directories in the defaultdb/db

frussell
New Member

on the index server I have a lot of "inflight" directories. Can I delete these files the index is running out of disk space.

inflight-db_1281863647_1281646469_455/ --1281754080-1281646469-317331.tsidx
--1281863647-1281852120-155270.tsidx
--rawdata/
--splunk-autogen-params.dat --1281863647-1281647883-43400.tsidx
--optimize.result
--Sources.data
--splunk_optimize_logs/

Tags (1)
0 Karma

mmcginnis2
Explorer

I've had multiple inflight-db's when I accidentally ran out of storage. The raw-data directory did not copy over so I removed the inflight's from the target, cleared up some space, and performed the transition again.

From Splunk's Blog talking about restoring an Index:

Step 3 – What is an in-flight bucket? When Splunk transitions a bucket from warm to cold, it is considered to be “in-flight”. There is the potential scenario where a bucket has not completely transitioned, specifically if the storage crashed during the move process. You can find these buckets by looking for “in-flight” within the text of the directory name. You should remove the in-flight bucket as well as include this bucket ID as one that must be also copied to the primary storage from the back up location.

Blog post: http://blogs.splunk.com/2012/02/21/restoring-an-index/

Simeon
Splunk Employee
Splunk Employee

Those are directories that contain Splunk index data and are typically being actively written to. If Splunk is not doing anything to these directories, then there is probably something wrong. You should not delete them as you will lose the data within those directories.

Ellen
Splunk Employee
Splunk Employee

If these inflight-db directories still exist when Splunkd is not running, these are considered stale directories and can be safely deleted.

In general, files and directories should not be modified/removed while Splunk is still up and running.

0 Karma
Get Updates on the Splunk Community!

Built-in Service Level Objectives Management to Bridge the Gap Between Service & ...

Wednesday, May 29, 2024  |  11AM PST / 2PM ESTRegister now and join us to learn more about how you can ...

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 ...