Splunk Search

Unknown search command 'gauge'.

polamarasetti
Explorer

Hi Guys,

i am new to SPLUNK.

when i search a query with non admin user i am getting below error,

Unknown search command 'gauge'.

i guess this may be problem with some capabilities, but not sure which one.

can any one help me please to fix the issue.

Tags (2)

polamarasetti
Explorer

thanks for your advice.
the issue is resolved, its some compatibility issues with the user.

0 Karma

srinathd
Contributor

Hi.. let me know the capability required for the user to use gauge command

somesoni2
Revered Legend

What happened on 31st July 2014?

Any upgrades?

0 Karma

derekarnold
Communicator

The problem doesn't jump out at me directly, but perhaps the usage of % in an eval field is gumming up the works. Can you try changing the variable name from success% to success? I am wondering if splunk is considering that a modulo operator isntead of a variable.

0 Karma

polamarasetti
Explorer

these was working fine till 31st July 2014. from 1st Aug onwards we had problem with gauge class.

saying " unknown search command 'gauge' "

the query is

index="wcp_idx" sourcetype="jtc_log" Operation="{String:TopUpWithCard}"|stats count(eval(EventType="{String:Request}")) AS total, count(eval(EventType="{String:Reply}")) AS complete | eval success%=round(((complete/total)*100),1)|fillnull success% value=0 | gauge success%

0 Karma

grijhwani
Motivator

Please post the actual search string you are having difficulty with, and the specific error message. Your query is too vague.

Get Updates on the Splunk Community!

Splunk Observability for AI

Don’t miss out on an exciting Tech Talk on Splunk Observability for AI! Discover how Splunk’s agentic AI ...

[Puzzles] Solve, Learn, Repeat: Dereferencing XML to Fixed-length events

This challenge was first posted on Slack #puzzles channelFor a previous puzzle, I needed a set of fixed-length ...

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

What are Community Office Hours? Community Office Hours is an interactive 60-minute Zoom series where ...