I have a bar chart in splunk which has x-axis as each week from 2019 to 2023 and y-axis as count of data.
Now i want to get only the latest 10 weeks in x-axis
Hi @Vish ,
did you tried to use
earliest=-10win your main search?
otherwise, if you're using timechart command, you could use the "bin" option as described at https://docs.splunk.com/Documentation/SCS/current/SearchReference/TimechartCommandSyntaxDetails
ciao.
Giuseppe