Splunk Dev

Predict - Cholesterol by Age?

raneesh144
New Member

From a Heart disease data, Cholesterol and Age(upto age 70) data are provided. How can we predict Cholesterol level upto age 100?
Kindly provide a template for non timestamped data prediction.alt text

The following Search Command :
base search |where age<100 |chart avg(chol) AS average by age | where age<100 |predict average
is giving error code 1. Kindly provide a valid command.

Tags (1)
0 Karma

vishaltaneja070
Motivator

you can try to use predict command which can help you to achieve this.

https://docs.splunk.com/Documentation/Splunk/7.2.3/SearchReference/Predict
0 Karma

adonio
Ultra Champion

i think that the predict works only on the timechart command.
see here: https://docs.splunk.com/Documentation/Splunk/7.2.3/SearchReference/Predict

0 Karma

DMohn
Motivator

Can you please provide some sample data? It is very hard to give any advice at all without knowing the data structure...

0 Karma
Get Updates on the Splunk Community!

Upcoming Webinar: Unmasking Insider Threats with Slunk Enterprise Security’s UEBA

Join us on Wed, Dec 10. at 10AM PST / 1PM EST for a live webinar and demo with Splunk experts! Discover how ...

.conf25 technical session recap of Observability for Gen AI: Monitoring LLM ...

If you’re unfamiliar, .conf is Splunk’s premier event where the Splunk community, customers, partners, and ...

A Season of Skills: New Splunk Courses to Light Up Your Learning Journey

There’s something special about this time of year—maybe it’s the glow of the holidays, maybe it’s the ...