Skip to content

Instantly share code, notes, and snippets.

@davidfstr
Created September 29, 2014 18:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save davidfstr/79477ece71c8056d745d to your computer and use it in GitHub Desktop.
Save davidfstr/79477ece71c8056d745d to your computer and use it in GitHub Desktop.
Hmm. Works for me. I generated data by running the search 'index=_internal | head 2 | eval file="foo.txt" | eval path="C:\\Windows\\" | outputcsv output.csv'. Then I created a dashboard with a form input bound to $path$ and a table powered by the search '| inputcsv output.csv | search path=$path|s$'. If I type 'C:\Windows\' in the text field and press enter. I get the result I was expecting. Tested on Splunk 6.1.3.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment