I have created a simple xml form view that has a number of panels that shows end user activity on Internet browsing. The form takes two input (loginid and a timerange) as per below.
<input type="text" token="loginid"> <input type="time" searchWhenChanged="false">
I then use these two variables to generate various panels within the view (e.g web hit count, browsing time, top 10 downloads etc). I would like this view to be delivered to user's manager via e-mail as an attachment (either PDF or HTML)
What I am now stuck with is I am unable to schedule PDF delivery. Its greyed out. When I searched splunk doc, I found that it is the limitation of the product, perhaps (as specified in the following URL). Which says "You cannot schedule PDF delivery for forms, even if the forms are based on simple XML"
Can anyone suggest any work around?
My requirement is to e-mail the report to user's manager.
Currently you can't schedule forms for PDF generation.
Work around: Copy the form to another dashboard and remove the inputs. Change all the tokens to the values that you want printed and schedule the newly created dashboard.
Would love to see an officially supported solution that does not involve keeping duplicate copies of dashboards. Duplicate copies just increases required effort and overhead when you want to make even a simple change. Ideally, just use the default input values and run the report. Not sure why this is complicated.
If I understood correctly, what you are saying is to hardcode the dashboard for each user? If that is the case, I am afraid, I have to create thousands of users, which is not feasible.
Is it possible to define a variable (may be somewhere at the top of the XML code) within the dashboard XML? e.g. something like $loginid$ = "stephenm" and then use that variable for all the panels within the dashboard. If yes, that may be more realistic work around, though not ideal.