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!

Webinar Recap | Revolutionizing IT Operations: The Transformative Power of AI and ML ...

The Transformative Power of AI and ML in Enhancing Observability   In the realm of IT operations, the ...

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...