Splunk Search

Can I Rename the Variable on a Chart for Predict Command?

andrewkenth
Communicator

Just as it says..

Can I rename the variable on a chart for predict command? Instead of count and prediction(count) I'd like Actual and Estimated.

Thanks!

Tags (1)
0 Karma
1 Solution

martin_mueller
SplunkTrust
SplunkTrust
0 Karma

martin_mueller
SplunkTrust
SplunkTrust
0 Karma

martin_mueller
SplunkTrust
SplunkTrust

It should work inside the box as well, something like this:

... | timechart count as Actual | predict Actual as Estimated

That's basically a rename wrapped into the reporting command.

0 Karma

andrewkenth
Communicator

Not sure why I didn't think of this.. I was looking for an option in predict instead of thinking outside the box! This works:

| rename count as Actual | rename prediction(count) as Estimated

0 Karma
Get Updates on the Splunk Community!

Modern way of developing distributed application using OTel

Recently, I had the opportunity to work on a complex microservice using Spring boot and Quarkus to develop a ...

Enterprise Security Content Update (ESCU) | New Releases

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

Archived Metrics Now Available for APAC and EMEA realms

We’re excited to announce the launch of Archived Metrics in Splunk Infrastructure Monitoring for our customers ...