Splunk Search

search by range & dashboard help

changwoo
Communicator

i am trying to search by year

i have a field like movie_year ( ex: 1991, 1999, 2000)

and i want make a dashboard which is seperated by 10years

what can i do ?

Tags (3)
0 Karma
1 Solution

HiroshiSatoh
Champion

For example, a search sentence can be made in this way.
・・・・|eval years=substr(movie_year,1,3) + "0'S"

movie_year,years,・・・
1980,1980'S,・・・
1981,1980'S,・・・
1992,1990'S,・・・
1999,1990'S,・・・

I do not know that there is no image dashboard.

View solution in original post

somesoni2
Revered Legend

Are looking to group movies by decade? If yes than try this

your search | eval decade=floor(movie_year/10)*10

This will give values like this
movie_year decade
1991 1990
1999 1990
2000 2000
2003 2000

field value which is 10 year apart.

HiroshiSatoh
Champion

For example, a search sentence can be made in this way.
・・・・|eval years=substr(movie_year,1,3) + "0'S"

movie_year,years,・・・
1980,1980'S,・・・
1981,1980'S,・・・
1992,1990'S,・・・
1999,1990'S,・・・

I do not know that there is no image dashboard.

changwoo
Communicator

thanks for your help

0 Karma
Get Updates on the Splunk Community!

Celebrating Fast Lane: 2025 Authorized Learning Partner of the Year

At .conf25, Splunk proudly recognized Fast Lane as the 2025 Authorized Learning Partner of the Year. This ...

Tech Talk Recap | Mastering Threat Hunting

Mastering Threat HuntingDive into the world of threat hunting, exploring the key differences between ...

Observability for AI Applications: Troubleshooting Latency

If you’re working with proprietary company data, you’re probably going to have a locally hosted LLM or many ...