Dashboards & Visualizations
Highlighted

simple form

Contributor

I'm trying to write a simple form for this query

index=myapp tgtHostname="some.hostname.variable.com"

What is wrong with the following as written?

tgthostname=$tgtHostname$
Tags (1)
0 Karma
Highlighted

Re: simple form

Builder

You need an upper case T in searchTemplate

Also you need a results module to display results.

http://docs.splunk.com/Documentation/Splunk/latest/Developer/Step3FormOutput

View solution in original post

Highlighted

Re: simple form

Contributor

Perfect!! Thanks much!!

0 Karma
Highlighted

Re: simple form

Builder

You're welcome. Can you accept my answer? 😛

0 Karma