Splunk Search

DrillDown Table

pero1234
Path Finder

alt text

How to put | search splunk_web_service="574.357430" before | rex command in drilldown table?

I mean, after click on value in drilldown table I want search like:

index=test sourcetype="test" splunk_web_service="574.357430" | rex ....
Tags (2)
0 Karma
1 Solution

sideview
SplunkTrust
SplunkTrust

If you're using the advanced XML, (and I gather from the nature of your quesstion that you're using the 'addterm' intention), then you can add an 'indexed' flag to the intention

Intention syntax is ugly, but here's an addterm intention that adds myField="myValue", and note the last line -- that directive tells the intention system not to try and be clever, but to put the given term in the first search clause always.

<param name="intention">
  <param name="name">addterm</param>
  <param name="arg">
    <param name="myField">myValue</param>
  </param>   
  <param name="flags"><list>indexed</list></param>
</param>

View solution in original post

sideview
SplunkTrust
SplunkTrust

If you're using the advanced XML, (and I gather from the nature of your quesstion that you're using the 'addterm' intention), then you can add an 'indexed' flag to the intention

Intention syntax is ugly, but here's an addterm intention that adds myField="myValue", and note the last line -- that directive tells the intention system not to try and be clever, but to put the given term in the first search clause always.

<param name="intention">
  <param name="name">addterm</param>
  <param name="arg">
    <param name="myField">myValue</param>
  </param>   
  <param name="flags"><list>indexed</list></param>
</param>

sideview
SplunkTrust
SplunkTrust

yes it is possible. Lots of things get simpler with Sideview Utils. Pulldown and TextField are far simpler to use compared to SearchSelectLister, StaticSelect, ExtendedFieldSearch and ConvertToIntention, and their arguments are plugged into the search using a simple $foo$ replacement facility on the Sideview Search module. There are a lot of docs and examples in Sideview Utils itself that will walk you through from simple cases. http://sideviewapps.com/apps/sideview-utils

0 Karma

0waste_splunk
Communicator

is this possible in sideview utils? without intention?

0 Karma
Get Updates on the Splunk Community!

Get Early Access to AI Playbook Authoring: Apply for the Alpha Private Preview ...

Passionate about security automation? Apply now to our AI Playbook Authoring Alpha private preview ...

Reduce and Transform Your Firewall Data with Splunk Data Management

Managing high-volume firewall data has always been a challenge. Noisy events and verbose traffic logs often ...

Automatic Discovery Part 1: What is Automatic Discovery in Splunk Observability Cloud ...

If you’ve ever deployed a new database cluster, spun up a caching layer, or added a load balancer, you know it ...