Getting Data In

Empty index after deployment of application

bgaignon
Path Finder

Hi guys,

Here is quickly the situation:

  • We have qualys_app on the Search Head with our dashboard.
  • We have qualys_inputs on the Indexer with inputs.conf monitoring /tmp/qualys folder (we upload manually our files directly on the indexer)
  • We have all_indexes application with indexes.conf with our config for our index (qualys).
  • All apps are pushed by our deployment-server.

When we upload our new .csv files by putting them into our folder /tmp/qualys, they are well indexed by the Indexer and our Dashboard show us what we want.

Our issue is: when on the deployment-server we run ./splunk reload deploy-server
After the reboot of the Indexer the index qualys is empty. So we loose our data previously indexed.

My tests:

  • I suppose the problem can only comes from the Indexer and the apps deployed on the Indexer.
  • I tried to see if there is another indexes.conf in the other deployed apps that might override the configuration.
  • There is no errors in splunkd.log
  • I re-import my data, so they have been re-indexed and then after a new deployment => Empty index again.

So I'm open to any suggestion.
Thanks.

0 Karma
1 Solution

bgaignon
Path Finder

OK that was really stupid:
The parameter in indexes.conf: maxVolumeDataSizeMB for the entire volume was as big as the size of 1 index.

So that triggered the rolling data to frozen.
Now fixed.

View solution in original post

0 Karma

bgaignon
Path Finder

OK that was really stupid:
The parameter in indexes.conf: maxVolumeDataSizeMB for the entire volume was as big as the size of 1 index.

So that triggered the rolling data to frozen.
Now fixed.

0 Karma

bgaignon
Path Finder

Thanks Greg,

The problem happened recently, I just capture an interesting log and based on the result I think the problem comes from:
[volume:primary]
path = /index
maxVolumeDataSizeMB = 5000

maxVolumeDataSizeMB = 5000
I put the size of my volume and reload the app.
I 'll gave a feedback if it's solve the problem.

0 Karma

gregbujak
Path Finder

Can you clarify the "index is empty"? Exactly what command are you executing to determine the index is empty?

Once its indexed, unless the index on disk is being blown away somehow, you should not lose any data. However, if you are using a lookuptable, thats another story.

0 Karma
Get Updates on the Splunk Community!

Stay Connected: Your Guide to May Tech Talks, Office Hours, and Webinars!

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars this month. This ...

They're back! Join the SplunkTrust and MVP at .conf24

With our highly anticipated annual conference, .conf, comes the fez-wearers you can trust! The SplunkTrust, as ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had two releases of new security content via the Enterprise ...