Splunk Search

Is it possible to use PostProcessManager to append lookup CSV file?

chanmi2
Path Finder

Hi all,

Can we use |append [|inputlookup tmp.csv] in a post process search?

Here is the code:

<table>
  <search id="test">
    <query>|stats count</query>
  </search>
</table>
<table>
  <search base="test">
    <query>|append [|inputlookup tmp.csv|eval count="tmp"]</query>
  </search>
</table>

Two tables will show the same result. Click the "open in search" button and jump to search page, the result can contain the csv file.
If inside append is [|stats count|eval count="tmp"], the table can show both count=0 and count=tmp.
Is it a bug, the design of post process search, or did I type something wrong? Thanks.

0 Karma
1 Solution

sundareshr
Legend

AFAIK, postprocess only works on the data returned from base search. So, no, you cannot do an inputlookup

View solution in original post

sundareshr
Legend

AFAIK, postprocess only works on the data returned from base search. So, no, you cannot do an inputlookup

chanmi2
Path Finder

Thanks. Could you please post your answer so that I could click the accept button?

0 Karma
Get Updates on the Splunk Community!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...