Dashboards & Visualizations

How to display a hardcoded numeric value in splunk

aditsss
Motivator

Hi Everyone,

 

CAN SOMEONE PROVIDE ME THE QUERY FOR DISPLAYINY HARD CODED NUMERIC VALUE in splunk.

 

I just need to display any random numeric value .

 

Thanks in advance

Labels (3)
0 Karma
1 Solution

richgalloway
SplunkTrust
SplunkTrust

Do you mean something like this?

 

| makeresults
| eval foo = 2
| table foo

 

---
If this reply helps you, Karma would be appreciated.

View solution in original post

0 Karma

richgalloway
SplunkTrust
SplunkTrust

Do you mean something like this?

 

| makeresults
| eval foo = 2
| table foo

 

---
If this reply helps you, Karma would be appreciated.
0 Karma

aditsss
Motivator

@richgalloway 

 

Thank you.

0 Karma
Get Updates on the Splunk Community!

Prove Your Splunk Prowess at .conf25—No Prereqs Required!

Your Next Big Security Credential: No Prerequisites Needed We know you’ve got the skills, and now, earning the ...

Splunk Observability Cloud's AI Assistant in Action Series: Observability as Code

This is the sixth post in the Splunk Observability Cloud’s AI Assistant in Action series that digs into how to ...

Splunk Answers Content Calendar, July Edition I

Hello Community! Welcome to another month of Community Content Calendar series! For the month of July, we will ...