Splunk Fields - Broken - csv

I was going to ask this on the Splunk forums, but for some reason I haven't got a validation email after a few hours and multiple attempts, so I thought I would try here.
I create a search from a .csv data source and save a report from this search. I then selected the fields I want. Screenshot:
This works great. Then I send this report over to a dashboard so I can make some nice graphs and all the fields are gone and I have no option to map the fields.
(redacted some data)
As you can see there's no option to use the fields I selected in the report even though this is an import of that report. I tried manually mapping a field, and even that only shows up in the Reports view and not in any dashboards/panels. Is there something I'm missing here?

I suggest that you go to the report and choose the "Add to dashboard" option. Keep both the report and the dashboard in the same app. "Permanent" fields are defined within the context of an app. "Temporary" fields (created by the rex command, for example) exist only within the context of a report.

Related

SSRS Document Map is gone after exporting report with cached reports

We are using Microsoft SQL Server Reporting Services Version 15.0.1102.932 and Microsoft Power BI Report Server Version 15.0.1108.153.
Some of our reports have a Document Map. When we export to Excel we don't want the Document Map. In the DocumentMapLabel we have logic like this:
=IIF(Globals!RenderFormat.Name = "EXCELOPENXML",Nothing,Fields!PAGR_ID.Value)
This works great. However, we have found an issue when the Caching is set to use a cache that expires in X minutes or always run from a history snapshot (option 2 or 3). After you export to Excel then run the report again for the same parameters, the document map is gone.
It appears when you export, the server fetches the data again so it can render it in the desired output format and creates a new record in the SnapshotData table in ReportServerTempDB. I queried that table before running a report for the first time. Ran the report, queried again and saw a new SnapshotData record, as expected. I ran the report several times and noticed the table field TransientRefcount was increasing with each run. Nice to know we can look at that and see how many times a cache has been accessed. I then exported to Excel, queried the table and noticed a new record was created. When I ran the report again with the same parameters I saw that new records TransientRefcount increase instead of the previous SnapshotData record.
Since our report turns off the document map when exporting to Excel, this new SnapshotData record doesn't have the document map in it. Now when you run the report again with the same parameters, the document map is gone, because the server is grabbing the most recent cached data.
Has anyone encountered this and found a way to fix it? A different way to turn off the document map?
I tried creating two tables, one with the document map and one without where the visibility of the table with the document map was set to hide if the RenderFormat is Excel and the other table hides when it's NOT Excel. But that didn't work, the cached version only displays the version without the document map. Which makes sense since the most recent cached version doesn't have a document map and it can't turn something on that isn't there.
One thought I had was to set the Globals!RenderFormat.Name to "RDL" when the report first runs before any parameters are entered, but I can't figure out how to do that. Maybe with some code? I've not used code in a report before so don't know how to do that.
Any thoughts? Thanks very much!

SSRS report: unrelated list of values appears when empty date/time parameter is clicked

I have SSRS reports with date/time parameters which work fine.
Strange thing happens when I click date/time parameter's box while it's empty: dropdown list of unrelated text lines appears below the clicked box. Here's how it looks:
It appears in all reports with date/time parameters. In each report the values that appear are different.
In the Development Studio while previewing a report it doesn't happen at all.
The parameters are defined as usual in very simple manner.
Google search didn't help. :(
Can anyone give me a hint, please, what is it and how to get rid of it? SSRS version: 14.0.1016.232, MVS version 2015.
I looks to me like it could be the contents of your browsers 'type-ahead' or 'auto-complete' history.
The field name probably has the same name as another field that you've input data into, in the past.
Try using another browser and if that's OK trying clearing your browser history. If you are using Chrome it's part of the "Autofill" data.
You could follow this guide to removing specific entries if that's better in your scenario.
https://osxdaily.com/2018/07/20/how-delete-chrome-autofill-suggetsions

Automatic update of fields with SSRS

I'm currently working on a Java Project to generate the XML of an SSRS Report, without using Report Builder (this project writes the XML of a report to an .rdl file).
I'm stuck on the Datasets part of my project. I provide a query to my Dataset and when I open my report, my Dataset is created but the fields are not displayed.
And When I execute my report, I have an error that tells me a problem with my DataSet.
This error means "An error occured during local report processing".
The solution I found is to go to "properties of the dataset" and click on "Refresh fields".
"Actualiser les champs" means "Refresh Fields".
The list of fields is displayed and I can run my report without any problem.
So I wanted to know if it was possible to have the fields update automatically without going through the properties of the DataSet and without the action of the user ?
I have already tried to edit the "AutoRefresh" value of the report, without success.
Is there an option to make this happen or some way to run the script behind the button ?
P.S : I need to generate a hundred of Dataset, so my click on "refresh fields" of each Dataset is not viable.
Thank you for any help you can give me.

Table element is not displayed in Jaspersoft Studio

I am trying to display a simple Table on my report; instead I see a blank page.
This is what I have done so far:
Created a new Data Adapter using CSV file.
Created a new report using that Data Adapter.
Added a Table element to Detail Band.
Click "Preview" and I can see only 2 blank pages.
If I change to use the built-in "Jasper Sample DB", I can see a Table with no problems.
I use Jaspersoft Studio 6.3.0 running on Windows 10. This is so simple and I cannot see why it does not work. I also search for solutions in many web sites but I cannot see any solutions. (Note: I can create Chart using that CSV Data Adapter with no problem.)
If I use a database as datasource, I can see the sql SELECT in queryString tag. If I use CSV as datasource, I am expecting not to see a SELECT. This is correct in the source code XML file.
Thank you.
I was able to solve it by doing this:
No query in report, but in dataset, check if the query has results at data preview
Moving the table to Summary section
At report properties and table properties change "When data no Type" attribute to "All Sections No Detail"
Also, idk if this helps, but right click on Dataset and select Connect to Main Dataset.
I hope it helps.

SSRS Adding text box that accepts input for printing

Using Business Intelligence Development Studio, I am creating a report for SSRS that requires the user to add a few notes before being printed. The notes do not need to be sent back to the SQL Server that the report is being generated from, they just need to be included when the report is printed or exported. I have some other solutions including:
Exporting to Word for edit, then the user can manually publish to pdf & send
Including parameters for the note fields which involves pulling the report, then adding in the notes and lastly re-pulling the report again to include the data
But I really don't want to add the extra steps to the user's process unless necessary. Has anyone tried this before? I've been tinkering and searching and have had no luck.
Thanks in advance.
Input to an SSRS report comes from data sources and the parameters. Some server settings are applied, but all the per-report stuff is from either of those two places.
Based on the OP comment, I would add a text parameter that allows blank values. You can set a default value of ="" so that the report will run on first access. Then any text the users adds can be inserted into the report simply by referring to the parameter's value.(=Parameters!MyParam1.Value)
user is pulling the report first to analyze the data. So they would pull it once, then add the notes, and then pull the report again with the parameters added.