- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Is it a recommended approach to directly use the Pivot command in inline searches?
Or Pivot command should only be generated by the Pivot?
- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content


You can use it yourself in a search. It has to be first in the search pipeline, and you need a data model. See the Search Reference for information about the required inputs and for some simple examples.
- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content


You can use it yourself in a search. It has to be first in the search pipeline, and you need a data model. See the Search Reference for information about the required inputs and for some simple examples.
- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Splunk recommends not to use Pivot command directly in search
- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

I would not say that is a recommendation. There are many situations where this is a perfect way to accelerate a search. It is just that the search syntax starts with the declarations for the pivot table and that is something new to learn.
- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks. I will revert back to the normal search or tsstas queries instead of Pivot statments
- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content


I see. I guess I would say you're better off using the Pivot Builder UI unless there is something specific that you're trying to achieve and the command will do for you but the UI won't. That's the best general guidance I can give you.
- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
i know we can do that, my question is "Is it recommended" to do it?
Since pivot command works well inside Pivot, it is not very readable when we use directly.
