Refine your search:

5
1

Is there a CLI command that I can use to determine what kind of license is installed on an instance?

I'd like to know if it's a Trial or an Enterprise license, the volume, the lifetime and expiry date and maybe even the license string.

asked 20 Apr '10, 18:10

Mick's gravatar image

Mick ♦
4.0k1327
accept rate: 52%


4 Answers:

This will give you most of what you're looking for -

./splunk show license

On my test Splunk instance, this returns:

Your session is invalid.  Please login.
Splunk username: admin
Password: 
Current Daily Usage Amount:     0
Expiration date:        2010-04-22T14:42:04-0700
Expiration State:       7
License level:          100 MB
Product:            Enterprise
License violations:         
        2010-04-20T07:22:20-0700 License violation #5
        2010-04-20T00:06:36-0700 License violation #4
        2010-04-19T00:00:56-0700 License violation #3
        2010-04-18T00:03:50-0700 License violation #2
        2010-04-17T00:03:20-0700 License violation #1
Max Violations:         5
Peak usage:             1563 MB
Days remaining:         2 day(s)
Violation Period:       30
link

answered 20 Apr '10, 18:21

Mick's gravatar image

Mick ♦
4.0k1327
accept rate: 52%

edited 20 Apr '10, 18:28

This is cool, if only I ever knew!

(20 Apr '10, 18:41) jrodman ♦

Doesn't work with Splunk 4.2.1

(10 Jun '11, 06:23) twinspop

4.2 update...

[root@funkytown ~]# /opt/splunk/bin/splunk version

Splunk 4.2.1 (build 98164)

[root@funkytown ~]# /opt/splunk/bin/splunk show license

This command is deprecated.

[root@funkytown ~]#

link

answered 09 Jun '11, 14:18

tmartin's gravatar image

tmartin
561
accept rate: 50%

Since this question has been answered already, I guess, you'd better place that comment/answer in a new thread. Maybe someone has a solution!

(10 Jun '11, 03:34) LCM

Yeah, what gives with removing this command? I had a nice shell script setup to alert us via email of violations, and being clear of violations - and it was based on the results of the "Show license" command. There doesn't seem to be an equivalent.

Is there a log file to which violations are logged?

link

answered 24 Jun '11, 06:45

mmletzko's gravatar image

mmletzko
806
accept rate: 12%

There are new ways you can alert based on violations: Community:TroubleshootingIndexedDataVolume

link

answered 07 Aug '11, 23:08

chrisrex's gravatar image

chrisrex
514
accept rate: 33%

Post your answer
toggle preview

Follow this question

Log In to enable email subscriptions

RSS:

Answers

Answers + Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "Title")
  • image?![alt text](/path/img.jpg "Title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×127
×82
×2

Asked: 20 Apr '10, 18:10

Seen: 1,043 times

Last updated: 07 Aug '11, 23:08

Copyright © 2005-2012 Splunk, Inc. All rights reserved.