Splunk Search

Can't add new data?!

nickcode
Explorer

Hi All! I'm using Enterprise Trial version of Splunk which allows indexing 500MB data a day. I have once specified a directory which contains about totaly 500MB nginx log files for Splunk to index and search. Later I found no more data can be imported any further, that's not strange I thought. So I tried to use "sourcetype="xxx" | delete" command to delete the index for later data import. But it doesn't work, other data still can not be imported or indexed. 😞
Then several days later, I cleaned the index database that stores the 500MB data using CLI "splunk clean ..." command, BUT, BUT, I STILL CAN'T IMPORT MORE DATA...TAT
Any one would be so kindly to help me?

0 Karma
1 Solution

kristian_kolb
Ultra Champion

You have probably hit the threshold (500 MB / day) too many times. For the Free version, the limit is set to 3 violations per 30 days (rolling) and for Enterprise it is set to 5 violations per 30 days (rolling). I think Enterprise Trial has the same setting as Enterprise.

So if you index more than 500 MB / day, you'll get a violation, and with enough violations, you'll be locked out (at least for searching 'your' data). Splunk licensing does not care about how much data you have stored, so deleting already indexed data will have no effect.

The only thing that will let you search your data is to;

a) wait until there are less than violations in the last 30 days.
b) request a reset license from support and apply it (doubtful if you'll get that for the free/trial versions)
c) purchase an Enterprise license (presumably of a larger size).

Please read more here;

http://docs.splunk.com/Documentation/Splunk/5.0.2/Admin/HowSplunklicensingworks

/Kristian

View solution in original post

kristian_kolb
Ultra Champion

You have probably hit the threshold (500 MB / day) too many times. For the Free version, the limit is set to 3 violations per 30 days (rolling) and for Enterprise it is set to 5 violations per 30 days (rolling). I think Enterprise Trial has the same setting as Enterprise.

So if you index more than 500 MB / day, you'll get a violation, and with enough violations, you'll be locked out (at least for searching 'your' data). Splunk licensing does not care about how much data you have stored, so deleting already indexed data will have no effect.

The only thing that will let you search your data is to;

a) wait until there are less than violations in the last 30 days.
b) request a reset license from support and apply it (doubtful if you'll get that for the free/trial versions)
c) purchase an Enterprise license (presumably of a larger size).

Please read more here;

http://docs.splunk.com/Documentation/Splunk/5.0.2/Admin/HowSplunklicensingworks

/Kristian

nickcode
Explorer

OK, thanks for your suggestion! 🙂

0 Karma

kristian_kolb
Ultra Champion

If you are trying to import the SAME data that you have already indexed once, and now deleted, you might have to clean the fishbucket index as well, as that's where splunk keeps track of the files it has already read.

Some interesting reading;
http://wiki.splunk.com/Community:HowSplunkReadsInputFiles
http://blogs.splunk.com/2008/08/14/what-is-this-fishbucket-thing/
http://splunk-base.splunk.com/answers/54070/btprobe-and-re-indexing-data

/k

0 Karma

nickcode
Explorer

a) I created a new index and added new data to it, the eventcount keeps 0 in manager->indexs page.
b) My data is standard nginx log files, I think it should be ok.
c) I logged in as admin and have the access right.

0 Karma

kristian_kolb
Ultra Champion

Hm, ok.

a) Have you checked that the data is in the index (manager -> indexes). You should see an eventcount and a date per index, which should give you an indication of whether your events have been indexed or not.

b) Have you checked that Splunk can understand your timestamps correctly. If not, a lot of strange things can happen, e.g. events being indexed in the wrong day/month/year etc. Search for 'All Time' to see if you can find them.

c) Do you have access rights to your index? Manager -> Access Rights -> Roles -> . At the bottom of the page you'll see settings for this.

0 Karma

nickcode
Explorer

Very thankful for your reply! But I haven't found any violation or warning message in 'Manager->Licensing' at all(Maybe my data is just no more than 500 MB). Just now I found after I cleaned up the index db, and added new data to Splunk, Splunk did index it(I found new TXIDX files are created in index db), but no data are showed in search pannel.

0 Karma
Get Updates on the Splunk Community!

Earn a $35 Gift Card for Answering our Splunk Admins & App Developer Survey

Survey for Splunk Admins and App Developers is open now! | Earn a $35 gift card!      Hello there,  Splunk ...

Continuing Innovation & New Integrations Unlock Full Stack Observability For Your ...

You’ve probably heard the latest about AppDynamics joining the Splunk Observability portfolio, deepening our ...

Monitoring Amazon Elastic Kubernetes Service (EKS)

As we’ve seen, integrating Kubernetes environments with Splunk Observability Cloud is a quick and easy way to ...