Hello,
I have a base search as simple as
<search id="root">
<query>index=w
</query>
</search>
And the I have
<search base="root">
<query> filter1=A AND filter2=B
</query>
</search>
This is not working because Splunk adds a pipe between the root and leaf search:
index=w | filter1=A filter2=B
What I wanted to happen is
index=w filter1=A filter2=B
Any ideas how to change this behaviour?
try this
<search base="root">
<query> search filter1=A filter2=B
</query>
</search>
You're not going to be able to remove that pipe. it's either add the filters to the base search or do a |search
in the base="root"
try this
<search base="root">
<query> search filter1=A filter2=B
</query>
</search>
You're not going to be able to remove that pipe. it's either add the filters to the base search or do a |search
in the base="root"
Thank you, that was my suspition. I'll have to live with that.