run the code sequentially

New Member

I would like to run my code from a pannel in two steps.

First run a part of the code and then the other because I need the results of the first part to run the second.
And I want to stay in one panel.
Is there somethings to do it ?

Tags (2)
0 Karma


What you describe sounds a little like a subsearch, which runs before the main search. There are limitations to subsearches, however. Can you say more about what you want to do in this panel?

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

Ultra Champion

Can you be more specific and share the 2 pieces of code (or at least representative examples)? Because it is not very clear what you want to achieve. It sounds like something that can maybe be done with a subsearch, but hard to tell without any details.

0 Karma
State of Splunk Careers

Access the Splunk Careers Report to see real data that shows how Splunk mastery increases your value and job satisfaction.

Find out what your skills are worth!