Automated CVS reports download

Hi...
Some one must have hacked this issue ...
I like to do a automated download of a cvs export file....
I have tried using wget and curl from a linux command line but on luck until now.......
Basicly what I like to get is the incomming mail summary from our M650 box and dynamic update a rrd-tool or mrtg graph on our intranet.
https://m650.ironport.company.org/monitor_email/reports/overview?format=csv&sort_col_ss_0_0_1=MAIL_INCOMING_TRAFFIC_SUMMARY.BLOCKED_REPUTATION&report_query_id=mga_overview_incoming_mail_summary&date_range=current_day&sort_order_ss_0_0_1=desc&report_def_id=mga_overview
How to doo this ?
Is there otherways to get these information dynamic or automated ?
what do you dooo ?????

wget --no-check-certificate -O Overview_Incoming_Mail_Summary_RawData.csv "https://user:[email protected]/monitor_email/reports/overview?date_range=current_day&sort_col_ss_0_0_1=MAIL_INCOMING_TRAFFIC_SUMMARY.BLOCKED_REPUTATION&report_def_id=mga_overview&report_query_id=mga_overview_incoming_mail_summary&format=csv"
thanks to other great post on the site arround downloading other stuff from a ironport server :-)
:D

Similar Messages

  • Can you remove column headers from report downloads?

    I'd like to remove the column header from the report downloads. For example, the report download file currently looks like:
    EMPNO,ENAME
    7839, KING
    7698, BLAKE
    Where as I'd like it to just be:
    7839, KING
    7698, BLAKE
    Does anyone know if this is possible?
    Thank you,
    Martin
    http://www.talkapex.com

    There is a work around that I used before:
    - Create a new page.
    - create a report region and copy your origional report query in it
    - in report attributes >> choose no header
    - in report attributes >> choose "CVS report" as your new report tempate.
    - go back to your origional report, create a button in that page ( call it EXPORT ) that submits as EXPORT
    - create a conditional branch that goes to your new report page , make it conditional ( when EXPORT button is clicked)
    This way, you will have a new EXPORT button on top ( or whereever you want ) of you report, when you click on it , it shows a download prompt for your export , the export won't have headers..
    Sam

  • IR Saved Report  - Download to CSV downloads Primary Report

    Hi there
    I'm using Apex 4.1, I login to my Apex application NOT using the developer interface (the developer buttons are not visable at the base of the page) as an end user would see.
    If I run an IR report and then create a filter on the Primary report the report runs OK. I then click Actions -> Download and then Download the report output to a CSV file (correctly filtered) to a Excel spreadsheet. I then Save this report giving the report a Name and Description. I then logoff from the Apex application. So far so good.
    I then login back on to my Apex Application. When I choose and run the Saved Report (described above - not the Primary report) the saved report runs correctly (applying the correct filter condition), HOWEVER when I then click on Actions - Download I seem to get the Primary report downloaded as a CSV file into my Excel spreadsheet - the filter condition that is applied to the saved rerport is ignored for the Downloaded CSV file. The File Downloaded is a new CSV file generated in Apex as reported in my Firefox 'Downloads' list.
    Does anyone know if this is a Bug or have I not set up the IR correctly.
    Thanks in Advance
    Edited by: boketi on Aug 13, 2012 3:18 PM

    boketi wrote:
    Hi Mehabub,
    Many thanks for the quick response.
    Did you test this in version 4.1 of Apex? I logged on to Oracle's 4.2 Early Adopter Beta Site and did the same and the IR works fine! Maybe it's a strange problem in 4.1 although I doubt it as with such a problem there would be a lot more noise on this forum. Could this be related to the 'theme' that I'm using? As the theme I'm using was origionally developed for Apex 3.2 and I don't think IR reports were around in 3.2?There is a good chance that it has to do with the theme or the upgrade from Apex 3.2. Interactive reports existed in 3.2 also user defined reports. But a lot of changes were made to the IR logic since 3.2 (introduction of multple standard reports, etc.).
    I just tested your case in my Apex 4.1.1 version in an application that was also upgraded from 3.2. And the data was stored correctly into a csv file.
    But it is useing one of the standard themes that was also updated.
    Did you set the compatibility mode of your application to 4.1?
    http://docs.oracle.com/cd/E23903_01/doc/doc.41/e21676/apex_util.htm#AEAPI2329
    begin
       apex_util.set_compatibility_mode(<application id>, '4.1');
       commit;
    end; Just because the environment is Apex 4.1 does not mean you application runs in 4.1. mode.

  • IRR report number format after report download

    APEX 4.1
    I have an IRR report which has a column with data like 1010390000000090.
    On report download using IRR CSV download option the data appears as 1.01039E+15 i.e. with scientific notation.
    User wants this column to show proper number and not in scientific notation format.
    I tried using to_number in report query

    Any help!!
    I referred this link https://forums.oracle.com/message/3449479#3449479
    They say to add filename <filename>.txt worked for them I tried the same but didn't work out

  • OBIEE 11G report download with excel 2000 is not working properly

    Hi all,
    The Analytics report download is not working properly in excel 2000.
    This version is no longer supported?
    Is any way to workaround this problem?
    Cheers
    Carlos Pereira

    Hi,
    which version r u using? until obiee11.1.1.5 its bug but solve it by workaround method . also the bug fixed in obiee.11.1.1.6
    11700314 REPORT NOT EXPORTED FULLY INTO EXCEL WHEN DOWNLOADING FROM PAGES OTHER THAN 1
    1) stop it all u r bi serivices then take a back of u original instanconfig.xml file then do the below changes
    D:\Oracle\Middleware\instances\instance1\config\OracleBIPresentationServicesComponent\coreapplication_obips1
    instanceconfig.xml
    just add below content then
    <Views>
    <Pivot>
    <MaxCells>6500000</MaxCells>
    <MaxVisibleColumns>100</MaxVisibleColumns>
    <MaxVisiblePages>1000</MaxVisiblePages>
    <MaxVisibleRows>65000</MaxVisibleRows>
    <MaxVisibleSections>25</MaxVisibleSections>
    <DefaultRowsDisplayed>500</DefaultRowsDisplayed>
    <!--This Configuration setting is managed by Oracle Business Intelligence Enterprise Manager--><DefaultRowsDisplayedInDelivery>75</DefaultRowsDisplayedInDelivery>
    <!--This Configuration setting is managed by Oracle Business Intelligence Enterprise Manager--><DefaultRowsDisplayedInDownload>64000</DefaultRowsDisplayedInDownload>
    <!--This Configuration setting is managed by Oracle Business Intelligence Enterprise Manager--><DisableAutoPreview>false</DisableAutoPreview>
    </Pivot>
    <Table>
    <MaxCells>6500000</MaxCells>
    <MaxVisiblePages>1000</MaxVisiblePages>
    <MaxVisibleRows>65000</MaxVisibleRows>
    <MaxVisibleSections>25</MaxVisibleSections>
    <DefaultRowsDisplayed>500</DefaultRowsDisplayed>
    <!--This Configuration setting is managed by Oracle Business Intelligence Enterprise Manager--><DefaultRowsDisplayedInDelivery>75</DefaultRowsDisplayedInDelivery>
    <!--This Configuration setting is managed by Oracle Business Intelligence Enterprise Manager--><DefaultRowsDisplayedInDownload>64000</DefaultRowsDisplayedInDownload>
    </Table>
    </Views>
    Restart all u r bi services..
    then test it out.
    Thanks
    Deva

  • How do I manually submit an error report when the automated error report submission fails?

    How do I manually submit an error report when I receive a message, 'submission failed' after choosing automated error reporting?

    Since Leopard is now out of production there will be no future updates so there is no point in filing an error report.

  • Anyone automating Crystal Reports in Python?

    Post Author: [email protected]
    CA Forum: Other
    I am relatively new to Python, and found sample code that I have, to some degree, successfully implemented.  I am using the RDC and can open a report, but am having difficulties supplying connection data.   If anyone else has automated Crystal in Python, either through the RDC or some other method I'd like to hear about your experience. Thanks in advance.

    Post Author: pward
    CA Forum: Other
    Thanks Ted for the useful link, as promised, here's an update.   The following sample code works using COM via the RDC and win32com (the excellent extensions by Mark Hammond):#open a report, set the logon info and logon to the report's server,  fill the parameter using a dictionary, print the report and finally export it to PDFimport sysfrom win32com.client import Dispatchapp = Dispatch('CrystalRunTime.Application')rep = app.OpenReport('c:/TempRep/foo2.rpt')prmDict = {"p1":10,           "p2":"Company Name",           "p3":"Address",           "p4":"Address2",           "p5":"City",           "p6":"Policy#",           "p7":942,           "p8":1,           "p9":"Some Parameter 1",           "p10":"Some Parameter 2",           "p11":1,           "p12":1,           "p13":"Some Parameter 3",           "p14":"Contact name"           }# iterate through the tables collection, set the logon info and then logontbls = rep.Database.Tablesfor tbl in tbls:    tbl.SetLogOnInfo('DSN', 'DB', 'UID', 'PWD')  # use your own ODBC DSN, Databasename, UserID and Passwordapp.LogOnServertest = tbl.TestConnectivityprint test   # Debug statementrep.ReadRecords  # this wasn't necessary in my environment, but I've had to do this on past project (not Python)#Fill report parameters with a parameter dictionaryi = 0  #Debug iteratorfor prm in rep.ParameterFields:    i = i + 1    print 'Parameter ', i, ' = ', prm.ParameterFieldName, ' = ', prmDict&#91;prm.ParameterFieldName&#93; #Debug statement    prm.AddCurrentValue(prmDict&#91;prm.ParameterFieldName&#93;)#Print the Report, prompting the userrep.PrintOut(promptUser=True)#Set the export options and export the reportcrExportOptions = rep.ExportOptionscrExportOptions.FormatType = 0x1f #'crEFTPortableDocFormat'crExportOptions.DestinationType = 0x1 #'crEDTDiskFile'crExportOptions.DiskFileName = 'c:/TempRep/ExportFoo2.pdf' crExportOptions.PDFExportAllPagesrep.Export(False)   There really isn't much to it, of course this is just sample code so your implementation will vary (I've built a class that gets, sets and executes all the RDC methods our app could possibly use).   Since you have to use win32com, you might as well download PythonWin which comes with the COM MakePy utility.  The MakePy utility will wrap the COM API in Python code so you can see everything you will have at your disposal, which you could either incorporate or import into you module/class.  Overall, the RDC works just as well in Python as it does in VB. 

  • Activity Report download is saved without extension and unreadable

    Hello,
    The Portal Activity Report iView has a button which enables the user to download the report to his PC.
    The problem is that when the user clicks on that button and saves the file it is being saved by this default name: com.sap.portal.activityreport.frontend.DownloadableActivityReport
    The main problem is that it is being saved by default without any extension and after saving the user needs to manually add the .xls suffix.
    Another problem is that once I open the report with Excel The Object Name column is unreadable.
    Is there any way to resolve these issues?
    Roy

    Hi Roy,
    > if it wasn't supported there
    > or you would still consider it as a bug?
    The feature in general of course was supported, but what I cannot say is if it was a known issue that it didn't work correctly. As I dont't use the ActivityReport, I also have no experience if it didn't work at some time and maybe now is working.
    The wrong filename I don't expect to be corrected in the meanwhile, as said, that's a problem in some places. So at least for this you could open an OSS message. And maybe combine this with the problematic column issue.
    But if upgrading to SP18 would be an option for you, maybe you could first test that.
    Hope it helps
    Detlev

  • Add Two Column in report ,Download and Delete

    Hi Friends,
    i have one item File Browser to use browse :P1_file_browser and i have create a Report
    My Table Is
    CREATE TABLE  "ARM_DOC_CER"
       (     "ID" NUMBER,
         "NAME" VARCHAR2(500),
         "MIME_TYPE" CLOB,
         "BLOB_CONTENT" BLOB,
         "SUBJECT" VARCHAR2(500)
    i jus want to add two column in my report
    1--Download
    2--Delete
    When i click on download then download file and when i click on delete then delete corresponding file.
    How can i do this.
    Thanks                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

    Hi,
    You can use concat function or also '||' to combine two columns.
    1. with concat-
    concat("D4 Product"."P01 Product","D4 Product"."P02 Product Type")
    2. With '||' operator
    "D4 Product"."P01 Product" || '-'||"D4 Product"."P02 Product Type"
    (Remove '-' if not required)
    This should resolve. Hope this helps
    Regards
    MuRam

  • Export option in ALV report downloades first two columns blank

    Hi ,
    Before posting this query I searched the solution in SDN but I did't find the solution.
    My problem is  After displaying report in ALV format ,if I press Export --> Local file --->spreadsheet ;  file will downloaded to excel sheet but first two columns(only heading no data ) will be blank  and next two columns with proper data.
    I checked field catalog defination it seems to be ok,  any other mistake ?
    Please suggest.
    Narayan

    Hi
    It's the option you have in the path System->List->Save->Local file
    I means it's the standard option to export an abap list into a local file, so you should try this path too and check if the resul it's the same
    I think you should choose  Export --->spreadsheet: here before saving the file an excel document will be open
    Max

  • Remove HTML from Interactive report download

    I have interactive reports where the column link on a specific column has to be dynamic, that means, it cannot be hard coded in the column link attributes. The following is an example of one such report query:
    case when d.object_type_description ='Business Service' then
    '< href="f?p='||:app_id||':183:'||:app_session||'::::P183_OBJECT_ID:'||d.id||'">'||d.object_name||'</>'
    when d.object_type_description = 'Real Time Event' then
    '< href="f?p='||:app_id||':162:'||:app_session||'::::P162_OBJECT_ID:'||d.id||'">'||d.object_name||'</>'
    else
       null
    end as "OBJECT NAME"As you see in the above example, the link on the "Object Name" column could either redirect to page 183 or to page 162 based on the "Object Type Description" column.
    The column attribute of the "Object Name" column has "Display Type" set to "Standard Report Column". That works perfectly fine in the UI of the report. However, if I download the IR data (in any format) from the Actions -> Download menu, the object name column values are downloaded with the HTML characters as:
    < href="f?p=15548:183:6072319179284::::P183_OBJECT_ID:255245470513999672860510787772603748464">JP010000</>where JP010000 is the object name.
    Is there a way I can strip the HTML from the column values in the downloaded files?
    I am using Apex 4.1.

    Rohit,
    You can define the link in the query, make it hidden, use the value as column link URL. So, your query will look like the following:
    d.object_name,
    case when d.object_type_description ='Business Service' then
        'f?p='||:app_id||':183:'||:app_session||'::::P183_OBJECT_ID:'||d.id
    when d.object_type_description = 'Real Time Event' then
        'f?p='||:app_id||':162:'||:app_session||'::::P162_OBJECT_ID:'||d.id
    else
       null
    end linkChange the display type of LINK column to Hidden. In column link, enter #OBJECT_NAME# as Link Text. Select URL as Target. Enter #LINK# as URL value. In APEX 4.2, you can do this in easier way by defining HTML Column Expression.
    Regards,
    Christina
    Edited by: cbcho on Sep 27, 2012 11:35 AM

  • Strip Tags From Interactive Report Download.

    Hi,
    Is it possible to strip html tags from a column during a CSV download on a interactive report?
    Basically i have a report where one of the columns is as follows
    453<font color="red"> | </font>0
    but in the download i want to strip out the tags so in the csv the column would show
    453 | 0
    Any ideas how i can do this using the standard csv download from the drop down menu?
    Thanks Andy

    Just wondering if any one had any thoughts on how I may be able to do this

  • Report download displays wrong format in excel

    I have a text field that is a number, dash, then four numbers 1-2345..
    in an interactive report, when I download to CSV or XLS this field is converted to a date field 1/1/2345..
    If I then change format to text it divides the numbers and gives me the output..
    the only workaround I can find is: save to csv.. rename extention to .txt... then when you open the txt the import wizard will run and you can change the column type to text before excel screws everything up...

    tried both already.
    same results opening the file..
    and using ''''||FIELD as ALIAS then doesnt show the data just the '
    fyi.. the field has both 1-2345 and 1-2345-B (the ones with the dash -B work correctly and they showed up when I added the ''''||FIELD)
    Edited by: Merlin128 on Oct 19, 2009 4:22 PM

  • 10G Reports download in 11g

    Hello All
    I downloaded the sample reports for OIM in BI Publisher 10G but I want to use 11g based on better security capabilities. I was wondering if there is a way to import the 10g reports from the download into 11g? I found a couple documents on the ua.bat utility for upgrading repositories and catalogs, but I don't have a 10g install to copy any of the data from. Do you know if it is possible to install the 10g reports on the 11g server? I have the jdbc connection already setup, just need to get the report samples uploaded if possible. Any help you can give would be appreciated.
    Thanks
    Nick

    Hello, I had the same question a while back. Response I got back from Oracle Support was that it's not possible to export a report from 10g and import into 11g. You either have to recreate the entire report or upgrade the repository.
    Seems a bit short sighted to me from a migration standpoint, but that's what I know.

  • Interactive Report Download to CSV limit is 65535 in APEX 3.2

    Hello ,
    I have an IR report in APEX 3.2 that returns around 75,000 rows . I have set the maximum row count in the report attributes under Pagination to 200,000 rows.
    Despite this when I download the report to CSV, only 65535 rows are downloaded .
    Is this a known bug with APEX 3.2 ? can someone please share the link if this bug is documented.
    If not, Is there some other attribute I need to change to increase the download limit ?
    Thanks,
    Dippy
    Edited by: Dippy on Jan 7, 2011 1:59 PM

    Hi Tony,
    Thanks for the reply . I have adjusted maximum row count to 100,000, even then I can download only 65535 .
    I have around 12-15 Interactive Reports(each with different Query) and I do not want to write a custom download procedure for each report and also the application is in production.
    I just want to understand(confirm) if it is a existing bug (3.2) , if there is any patch that will solve this or if there is a setting somewhere that I have missed.
    Can you please check with some other query on your 3.2 installation ?
    I ran a test on
    select rownum
    from all_objects where rownum < = 80000Norma report I was able to download all the rows but IR stopped at 65535
    Thanks,
    Dippy
    Edited by: Dippy on Jan 10, 2011 11:33 AM

Maybe you are looking for

  • Unmarking of Purchase Order deletion indicator

    Hi Purchase order deletion indicator was flaged for the line itme due to which not able to do the goods receipt Reset the deletion flag , still i am not able to do the GR It is giving the error message - PO has the deletion indication Could you pleas

  • Down Payment Entries

    Hi All, Can someone guide me through the entries that are posted when processing a down payment for a vendor?  I'm having trouble viewing the logic behind the entry and IMG config. Thanks.

  • Toolkit.getDefaultToolkit().getScreenResolution()

    Hi I called Toolkit.getDefaultToolkit().getScreenResolution() to get my monitor screen resolution. It returns 96 dpi. But as i check my monitor hardware specs, I found it was different. My monitor is 15.1 inch MultiSync LCD1530v and the hardware spec

  • I can hear people but they can't hear me

    I can hear people but they can't hear me

  • Image loading

    Hi everyone! This is probably a silly question, but I'm trying to put together an app for the iphone and I've been looking at the 'page control' sample code (http://developer.apple.com/iphone/library/samplecode/PageControl/index.html) from the apple