Log file to find BI user deletion

Hi All,
Some users have been deleted form BI console. Kindly help to find the event logs.
Where can we find the log files.
Regards,
Haree

Srithar,
Audit is fine but for that I need to implement it..Now I need to find out who has made the change.
In HANA is it not possible to track any change through table or log without activitng audit??

Similar Messages

  • Log/Table to find out User Activity in HANA

    Hi,
    Someone has moved a particular package from AB* Delivery Unit to CD* Delivery Unit.Due to which it has caused a huge problem.How to find out which user has moved the package from AB* Delivery Unit to CD* Delivery Unit?Is there any table or log to find out in HANA?

    Srithar,
    Audit is fine but for that I need to implement it..Now I need to find out who has made the change.
    In HANA is it not possible to track any change through table or log without activitng audit??

  • 'log' file in user folder

    I just opened my "User" folder in the finder and noticed there is a random file in there named 'log'.
    When i open it in textedit, there is just one line of text: "cp_plugin_dir:/Users/Mitchell/Library/Internet Plug-Ins"
    What is this file and is it safe to delete?
    Thanks

    I don't know what caused it but it only a (misplaced) log file so you can safely delete it.  Of course whatever caused it (a poorly written internet plugin installer?) may create it again so the mystery of the cause remains.  Keep an eye out for it and maybe you can associate some action you do with its reappearance.

  • May [date]IMAPMailboxSyncEngine.log files be deleted without losing emails?

    Problem description:
    [date]IMAPMailboxSyncServices.log makes large logs almost every day.  May the log files with older dates be deleted w/o affecting the email files?
    EtreCheck version: 2.2 (132)
    Report generated 4/26/15, 8:50 PM
    Download EtreCheck from http://etresoft.com/etrecheck
    Click the [Click for support] links for help with non-Apple products.
    Click the [Click for details] links for more information about that line.
    Click the [Click to remove] links for help removing adware.
    Hardware Information: ℹ️
        MacBook Pro (15-inch, Early 2011) (Technical Specifications)
        MacBook Pro - model: MacBookPro8,2
        1 2.2 GHz Intel Core i7 CPU: 4-core
        8 GB RAM Upgradeable
            BANK 0/DIMM0
                4 GB DDR3 1333 MHz ok
            BANK 1/DIMM0
                4 GB DDR3 1333 MHz ok
        Bluetooth: Old - Handoff/Airdrop2 not supported
        Wireless:  en1: 802.11 a/b/g/n
        Battery: Health = Normal - Cycle count = 448 - SN = D86130303H6DGDLAG
    Video Information: ℹ️
        Intel HD Graphics 3000 - VRAM: 512 MB
        AMD Radeon HD 6750M - VRAM: 1024 MB
            Color LCD 1680 x 1050
    System Software: ℹ️
        OS X 10.10.2 (14C1514) - Time since boot: 1:48:27
    Disk Information: ℹ️
        M4-CT512M4SSD2 disk0 : (512.11 GB)
            EFI (disk0s1) <not mounted> : 210 MB
            Recovery HD (disk0s3) <not mounted>  [Recovery]: 650 MB
            SSD 512 (disk1) /  [Startup]: 510.88 GB (10.86 GB free) (Low!)
                Core Storage: disk0s2 511.25 GB Online
        MATSHITADVD-R   UJ-898 
    USB Information: ℹ️
        SanDisk ImageMate 8 in 1
        Apple Inc. BRCM2070 Hub
            Apple Inc. Bluetooth USB Host Controller
        Apple Inc. Apple Internal Keyboard / Trackpad
        Apple Inc. FaceTime HD Camera (Built-in)
        Apple Computer, Inc. IR Receiver
    Thunderbolt Information: ℹ️
        Apple Inc. thunderbolt_bus
    Gatekeeper: ℹ️
        Anywhere
    Kernel Extensions: ℹ️
            /Applications/Parallels Access.app
        [loaded]    com.parallels.virtualsound (1.0.36 36 - SDK 10.6) [Click for support]
            /Applications/Parallels Desktop.app
        [not loaded]    com.parallels.kext.hypervisor (10.2.0 28956 - SDK 10.7) [Click for support]
        [not loaded]    com.parallels.kext.netbridge (10.2.0 28956 - SDK 10.7) [Click for support]
        [not loaded]    com.parallels.kext.usbconnect (10.2.0 28956 - SDK 10.7) [Click for support]
        [not loaded]    com.parallels.kext.vnic (10.2.0 28956 - SDK 10.7) [Click for support]
            /Library/Extensions
        [loaded]    com.sophos.kext.sav (9.2.50 - SDK 10.8) [Click for support]
        [loaded]    com.sophos.nke.swi (9.2.50 - SDK 10.8) [Click for support]
            /System/Library/Extensions
        [not loaded]    com.Belcarra.iokit.USBLAN_netpart (2.0.2) [Click for support]
        [not loaded]    com.Belcarra.iokit.USBLAN_usbpart (2.0.2) [Click for support]
        [not loaded]    com.RemoteControl.USBLAN.usbpart (2.0.6) [Click for support]
        [not loaded]    com.logmein.driver.LogMeInSoundDriver (1.0.0) [Click for support]
        [not loaded]    com.rogueamoeba.InstantOn (6.0.3 - SDK 10.6) [Click for support]
        [not loaded]    com.wdc.driver.1394HP (1.0.9) [Click for support]
        [not loaded]    com.wdc.driver.USBHP (1.0.11) [Click for support]
            /System/Library/Extensions/Belcarra.USBLAN_netpart.kext/Contents/PlugIns
        [not loaded]    com.belcarra.iokit.netpart.panther (1.6.1) [Click for support]
            /System/Library/Extensions/Belcarra.USBLAN_usbpart.kext/Contents/PlugIns
        [not loaded]    com.belcarra.iokit.usbpart.panther (1.6.1) [Click for support]
            /System/Library/Extensions/InstantOn.kext/Contents/PlugIns
        [not loaded]    com.rogueamoeba.InstantOnCore (6.0.3 - SDK 10.6) [Click for support]
            /System/Library/Extensions/RemoteControl.USBLAN_usbpart.kext/Contents/PlugIns
        [not loaded]    com.RemoteControl.USBLAN.panther (1.6.1) [Click for support]
    Launch Agents: ℹ️
        [not loaded]    com.adobe.AAM.Updater-1.0.plist [Click for support]
        [loaded]    com.adobe.CS5ServiceManager.plist [Click for support]
        [running]    com.epson.epw.agent.plist [Click for support]
        [failed]    com.epson.eventmanager.agent.plist [Click for support] [Click for details]
        [loaded]    com.google.keystone.agent.plist [Click for support]
        [running]    com.kodak.BonjourAgent.plist [Click for support]
        [running]    com.logmein.logmeingui.plist [Click for support]
        [not loaded]    com.logmein.logmeinguiagent.plist [Click for support]
        [not loaded]    com.logmein.logmeinguiagentatlogin.plist [Click for support]
        [failed]    com.opendns.osx.DNSCryptMenuBar.plist [Click for support] [Click for details]
        [loaded]    com.oracle.java.Java-Updater.plist [Click for support]
        [running]    com.parallels.mobile.prl_deskctl_agent.launchagent.plist [Click for support]
        [running]    com.sophos.uiserver.plist [Click for support]
        [running]    com.trusteer.rapport.rapportd.plist [Click for support]
        [loaded]    org.macosforge.xquartz.startx.plist [Click for support]
    Launch Daemons: ℹ️
        [loaded]    com.adobe.fpsaud.plist [Click for support]
        [not loaded]    com.adobe.SwitchBoard.plist [Click for support]
        [loaded]    com.google.keystone.daemon.plist [Click for support]
        [not loaded]    com.logmein.logmeinserver.plist [Click for support]
        [loaded]    com.microsoft.office.licensing.helper.plist [Click for support]
        [running]    com.opendns.osx.DNSCryptConfigUpdater.plist [Click for support]
        [loaded]    com.oracle.java.Helper-Tool.plist [Click for support]
        [loaded]    com.oracle.java.JavaUpdateHelper.plist [Click for support]
        [running]    com.parallels.mobile.dispatcher.launchdaemon.plist [Click for support]
        [loaded]    com.parallels.mobile.kextloader.launchdaemon.plist [Click for support]
        [running]    com.sophos.common.servicemanager.plist [Click for support]
        [running]    com.trusteer.rooks.rooksd.plist [Click for support]
        [loaded]    org.cindori.AuthHelper.plist [Click for support]
        [loaded]    org.macosforge.xquartz.privileged_startx.plist [Click for support]
    User Launch Agents: ℹ️
        [loaded]    com.adobe.AAM.Updater-1.0.plist [Click for support]
        [loaded]    com.adobe.ARM.[...].plist [Click for support]
        [failed]    com.citrixonline.GoToMeeting.G2MUpdate.plist [Click for support] [Click for details]
        [running]    com.google.Chrome.framework.plist [Click for support]
        [loaded]    com.kodak.KODAK AiO Firmware Updater.plist [Click for support]
        [loaded]    com.kodak.KODAK AiO Software Updater.plist [Click for support]
        [running]    com.microsoft.LaunchAgent.SyncServicesAgent.plist [Click for support]
        [running]    com.nds.pcshow.plist [Click for support]
        [loaded]    com.nds.pcshow.uninstall.plist [Click for support]
        [running]    com.parallels.mobile.startgui.launchagent.plist [Click for support]
        [loaded]    uk.co.markallan.clamxav.clamscan.plist [Click for support]
        [loaded]    uk.co.markallan.clamxav.freshclam.plist [Click for support]
    User Login Items: ℹ️
        Garmin Lifetime Map Updater    Application  (/Applications/Garmin Lifetime Map Updater.app)
        iTunesHelper    Application Hidden (/Applications/iTunes.app/Contents/MacOS/iTunesHelper.app)
        Dropbox    Application  (/Applications/Dropbox.app)
        ClipMenu    Application  (/Applications/ClipMenu.app)
        ClamXav Sentry    UNKNOWN  (missing value)
        TuneupMyMac    UNKNOWN  (missing value)
        ClamXav    Application  (/Applications/ClamXav.app)
        ClamXav Sentry    Application  (/Applications/ClamXav.app/Contents/Resources/ClamXav Sentry.app)
    Internet Plug-ins: ℹ️
        JavaAppletPlugin: Version: Java 8 Update 31 Check version
        LogitechDeviceDetection: Version: 1.0.0.76 - SDK 10.7 [Click for support]
        LogMeInSafari64: Version: 1.0.730 [Click for support]
        o1dbrowserplugin: Version: 5.41.0.0 - SDK 10.8 [Click for support]
        Default Browser: Version: 600 - SDK 10.10
        Flip4Mac WMV Plugin: Version: 3.2.0.16   - SDK 10.8 [Click for support]
        AdobePDFViewerNPAPI: Version: 10.1.13 [Click for support]
        FlashPlayer-10.6: Version: 17.0.0.169 - SDK 10.6 [Click for support]
        LogMeIn: Version: 1.0.730 [Click for support]
        Silverlight: Version: 5.1.30514.0 - SDK 10.6 [Click for support]
        Flash Player: Version: 17.0.0.169 - SDK 10.6 [Click for support]
        LogMeInSafari32: Version: 1.0.730 [Click for support]
        googletalkbrowserplugin: Version: 5.41.0.0 - SDK 10.8 [Click for support]
        QuickTime Plugin: Version: 7.7.3
        AdobePDFViewer: Version: 10.1.13 [Click for support]
        CANONiMAGEGATEWAYDL: Version: 3.0.0.2 [Click for support]
        CouponPrinter-FireFox_v2: Version: Version 1.1.7 - SDK 10.5 [Click for support]
        SharePointBrowserPlugin: Version: Unknown
        DirectorShockwave: Version: 12.1.2r152 - SDK 10.6 [Click for support]
    User internet Plug-ins: ℹ️
        CitrixOnlineWebDeploymentPlugin: Version: 1.0.105 [Click for support]
        WebEx64: Version: 1.0 - SDK 10.5 [Click for support]
        Google Earth Web Plug-in: Version: 7.1 [Click for support]
    Safari Extensions: ℹ️
        Open in Internet Explorer
        Searchme  Adware! [Click to remove]
        Slick Savings  Adware! [Click to remove]
        Amazon Shopping Assistant  Adware! [Click to remove]
        Ebay Shopping Assistant  Adware! [Click to remove]
    3rd Party Preference Panes: ℹ️
        DNSCrypt  [Click for support]
        Flash Player  [Click for support]
        Flip4Mac WMV  [Click for support]
        Growl  [Click for support]
        Java  [Click for support]
        MacFUSE  [Click for support]
        Trusteer Endpoint Protection  [Click for support]
    Time Machine: ℹ️
        Mobile backups: OFF
        Auto backup: NO - Auto backup turned off
        Volumes being backed up:
        Destinations:
            Alvin Lundgren's Time Capsu [Network]
            Total size: 0 B
            Total number of backups: 0
            Oldest backup: -
            Last backup: -
            Size of backup disk: Excellent
                Backup size 0 B > (Disk size 0 B X 3)
    Top Processes by CPU: ℹ️
            13%    WindowServer
             3%    iPhoto
             2%    Google Chrome Helper(40)
             2%    com.apple.WebKit.Plugin.64
             2%    Mail
    Top Processes by Memory: ℹ️
        1.92 GB    Google Chrome Helper(40)
        737 MB    kernel_task
        295 MB    clamd
        270 MB    Disk Inventory X
        262 MB    com.apple.WebKit.WebContent(5)
    Virtual Memory Information: ℹ️
        55 MB    Free RAM
        7.94 GB    Used RAM
        40 MB    Swap Used
    Diagnostics Information: ℹ️
        Apr 26, 2015, 07:13:08 PM    /Library/Logs/DiagnosticReports/Finder_2015-04-26-191308_[redacted].cpu_resourc e.diag [Click for details]
        Apr 26, 2015, 07:02:09 PM    /Users/[redacted]/Library/Logs/DiagnosticReports/DNSCrypt-Menubar_2015-04-26-19 0209_[redacted].crash
        Apr 26, 2015, 07:00:45 PM    Self test - passed
        Apr 25, 2015, 06:58:38 AM    /Library/Logs/DiagnosticReports/LegacyFileVaultMessageTracer_2015-04-25-065838_ [redacted].crash

    When you have a question, it's best just to ask, without posting reams of irrelevant information that no one asked for, especially if it comes from "etrecheck."
    From the Mail menu bar, select
              Window ▹ Connection Doctor
    In the window that opens, uncheck the box marked
              Log Connection Activity

  • User Information in the log file

    Hi All,
    Customer wants to know if it is possible to get information in the log files as to which users have accessed the documents.
    Any help would be much appreciated
    Regards,
    Geeta

    You may also want to look at using the Auding framework that was introduced in Content Services patch 10.1.2.3.
    The Content DB development kit has various information present that describes how to leverage this functionality.
    -Matt.

  • How do I setup RMAN not to delete archive log files on the source database so GoldenGate can process DDL/DML changes?

    I want to setup RMAN not to delete any archive log files that will be used by GoldenGate.   Once GoldenGate is completed with the archive log file, the archive log file can be backup and deleted by RMAN.   It's my understanding that I can issue the following command "REGISTER EXTRACT <ext_name>, LOGRETENTION" to enable to functionally.   Is this the only thing I need to do to execute to enable this functionally?

    Hello,
    Yes this is the rigth way  using clasic capture.
    Using the command : REGISTER EXTRACT Extract_name LOGRETENTION.
    Create a Oracle Streams Group Capture (Artificial)  that prevent RMAN archive deletion if these are pending to process for Golden Gate capture process.
    You can see this integration doing a SELECT * FROM DBA_CAPTURE; after execute the register command.
    Then, when RMAN try to delete a archive file pending to process for GG this warning appear AT RMAN logs:
    Error:     RMAN 8317 (RMAN-08317 RMAN-8317)
    Text:     WARNING: archived log not deleted, needed for standby or upstream capture process.
    Then , this is a good manageability feature. I think is a 11.1 GG new feature.
    Tip. To avoid RMAN backup multiples times a archive pending to process, there is a option called BACKUP archivelog not backed 1 times.
    If you remove a Capture process that is registered with the database you need to use this comand to remove the streams capture group:
    unREGISTER EXTRACT extract_name LOGRETENTION;
    Then if you query dba_capture, the artificial Streams group is deleted.
    I hope help.
    Regards
    Arturo

  • Question regarding a 95 G config/log file: LabView_32_11.0_Lab.Admin_cur.txt

    Hi Everyone,
    One of our lab computers running Labview was reported to be running out of storage and I was asked to figure out why. I rifled through some windows folders to find the culprit, specifically folder: c:\users\Lab.Admin\AppData\Local\Temp wherein I found a 95 G file entitled LabView_32_11.0_Lab.Admin_cur.txt I did note that the Lab.Admin is the user name and is also included in the filename so I'm assuming this is some sort of config/log file for the current user.
    The file was too large for me to open and look at with any program I had available so I just renamed it, re-started Labview to verify that it would be recreated an then deleted the bloated file. The newly created file has the following inside of itt:
    #Date: Wed, Jun 13, 2012 2:49:00 PM
    #OSName: Windows 7 Professional
    #OSVers: 6.1
    #OSBuild: 7600
    #AppName: LabVIEW
    #Version: 11.0 32-bit
    #AppKind: FDS
    #AppModDate: 06/22/2011 18:12 GMT
    #LabVIEW Base Address: 0x00400000
    Can anyone tell me the purpose of this file and what might have caused it to grow to 95 G. I'm just interested in learning how to prevent this from happening again.
    Cheers,
    Alex
    Alexander H. | Software Developer | CLAD
    Solved!
    Go to Solution.

    Yes it is, or rather was, a 95 Gb text file.
    I suspect you are correct that it is a crash dump/error log file. It makes sense as this computer has been running a test station for the past year that has been reported as less than stable. I'll keep an eye on that file over the next few days to see if anything is added to it while the station is running.
    Thanks for the suggestions,
    Alex
    Alexander H. | Software Developer | CLAD

  • I wonder what is included in the log files?

    My application generates 1G log files per day. when I use logmnr to
    analyze the log files, I find that 2000 rows which is performed by my
    application user is in the v$logmnr_contents view. And 55000 rows
    which is performed by the Oracle sys user. In these 5000 rows I can
    see SQL statements( Redo, Undo), and 50000 rows I can't see SQL
    statements which is identified by "unsupport statemet" or null.
    I wonder if my application generates 2000 rows, why oracle generates
    25 times than it. Can I tuning the log file that log file can be
    minimized.
    With best regard!

    Your problem may be related to the '''BLNGBAR''' shown at the end of your User Agent String. This answer from '''SafeBrowser''' may help -
    http://support.mozilla.org/en-US/questions/900875

  • Waits on log file sync

    when i look at oem dbconsole, i see that waits on log file sync has %98 bad impact on my database. dbconsole says that :
    finding : Waits on event "log file sync" while performing COMMIT and ROLLBACK operations were consuming significant database time.
    Action : Investigate the possibility of improving the performance of I/O to the online redo log files
    what can be done for this error?

    what can be done for this error? This is not an error,its a wait events.
    when user perform commit/rollback then information in logbuffer will be flush to redo logfile by lgwr process.and user session will wait until all this activity process has to complete after commit.
    try following actions
    log file sync
    When a user session commits (or rolls back), the session's redo information must be flushed to the redo logfile by LGWR. The server process performing the COMMIT or ROLLBACK waits under this event for the write to the redo log to complete.
    Actions
    If this event's waits constitute a significant wait on the system or a significant amount of time waited by a user experiencing response time issues or on a system, then examine the average time waited.
    If the average time waited is low, but the number of waits are high, then the application might be committing after every INSERT, rather than batching COMMITs. Applications can reduce the wait by committing after 50 rows, rather than every row.
    If the average time waited is high, then examine the session waits for the log writer and see what it is spending most of its time doing and waiting for. If the waits are because of slow I/O, then try the following:
    [b] * Reduce other I/O activity on the disks containing the redo logs, or use dedicated disks.
    * Alternate redo logs on different disks to minimize the effect of the archiver on the log writer.
    * Move the redo logs to faster disks or a faster I/O subsystem (for example, switch from RAID 5 to RAID 1).
    * Consider using raw devices (or simulated raw devices provided by disk vendors) to speed up the writes.
    * Depending on the type of application, it might be possible to batch COMMITs by committing every N rows, rather than every row, so that fewer log file syncs are needed.
    kuljeet

  • Filters log file in planning

    Hi All,
    Is there any log file for filters in Hyperion planning 4... I was tried to refresh filter for one user but getting error like "Filter created Expect for XYZ user"...
    Please suggest .....
    Thanks in advance..
    Regards,
    Ashok
    Edited by: Prabhas on Jan 30, 2012 4:10 PM
    Edited by: Prabhas on Jan 30, 2012 4:11 PM
    Edited by: Prabhas on Jan 30, 2012 4:11 PM

    Thanks for reply...
    1) You could look in the Essbase log and/or the application log file and find the refresh information there and presumably the username that cannot be refreshed.I found this below error message in Essbase.log...but i didn't get any thing is app.log file..
    [Wed Feb 01 01:43:48 2012]Local/ESSBASE0//esbadmin/Info(1053023)
    User's log message: Failed to generate security Filter. Essbase User: [email protected] Cube Name: Fcube
    2) You could also figure out if that id is still valid. Maybe the person left the company and there's no way the id is still valid.Ans : user recently changed his email id another name
    Ex : old id : [email protected]
    New id :[email protected]
    Please suggest..
    But i have tried to refresh with two ids but it didn't work for me...

  • How to transfer log files into Database Table.

    Hello,
    I have a requirement. My Front end is Oracle Application. If any user deletes the data from front end screen. One log file should be generated. That file will save in one folder in my server. And That log file consists which code is deleted.
    And the user name who deleted the code, time and deleting status..
    Now my requirement is i have to develop a report to display the log file data. But i dont have a database table to retrieve the data. The data consists Log files.
    How to transfer the Log files in DB table.
    I need a data in DB table to develop a report.
    Thanks...

    How do I ask a question on the forums?
    SQL and PL/SQL FAQ
    is application 3-tier

  • Help with Script created to check log files.

    Hi,
    I have a program we use in our organization on multiple workstations that connect to a MS SQL 2005 database on a Virtual Microsoft 2008 r2 Server. The program is quite old and programmed around the days when serial connections were the most efficient means
    of connection to a device. If for any reason the network, virtual server or the SAN which the virtual server runs off have roughly 25% utilization or higher on its resources the program on the workstations timeout from the SQL database and drop the program
    from the database completely rendering it useless. The program does not have the smarts to resync itself to the SQL database and it just sits there with "connection failed" until human interaction. A simple restart of the program reconnects itself
    to the SQL database without any issues. This is fine when staff are onsite but the program runs on systems out of hours when the site is unmanned.
    The utilization of the server environment is more than sufficient if not it has double the recommended resources needed for the program. I am in regular contact with the support for the program and it is a known issue for them which i believe they do not
    have any desire to fix in the near future. 
    I wish to create a simple script that checks the log files on each workstation or server the program runs on and emails me if a specific word comes up in that log file. The word will only show when a connection failure has occurred.
    After the email is sent i wish for the script to close the program and reopen it to resync the connection.
    I will schedule the script to run ever 15 minutes.
    I have posted this up in a previous post about a month ago but i went on holidays over xmas and the post died from my lack or response.
    Below is what i have so far as my script. I have only completed the monitoring of the log file and the email portion of it. I had some help from a guy on this forum to get the script to where it is now. I know basic to intermediate scripting so sorry for my
    crudity if any.
    The program is called "wasteman2G" and the log file is located in \\servername\WasteMan2G\Config\DCS\DCS_IN\alert.txt
    I would like to get the email side of this script working first and then move on to getting the restart of the program running after.
    At the moment i am not receiving an error from the script. It runs and doesn't complete what it should.
    Could someone please help?
    Const strMailto = "[email protected]"
    Const strMailFrom = "[email protected]"
    Const strSMTPServer = "mrc1tpv002.XXXX.local"
    Const FileToRead = "\\Mrctpv005\WasteMan2G\Config\DCS\DCS_IN\alert.txt"
    arrTextToScanFor = Array("SVR2006","SVR2008")
    Set WshShell = WScript.CreateObject("WScript.Shell")
    Set objFSO = WScript.CreateObject("Scripting.FileSystemObject")
    Set oFile = objFSO.GetFile(FileToRead)
    dLastCreateDate = CDate(WshShell.RegRead("HKLM\Software\RDScripts\CheckTXTFile\CreateDate"))
    If oFile.DateCreated = dLastCreateDate Then
    intStartAtLine = CInt(WshShell.RegRead("HKLM\Software\RDScripts\CheckTXTFile\LastLineChecked"))
    Else
    intStartAtLine = 0
    End If
    i = 0
    Set objTextFile = oFile.OpenAsTextStream()
    Do While Not objTextFile.AtEndOfStream
    If i < intStartAtLine Then
    objTextFile.SkipLine
    Else
    strNextLine = objTextFile.Readline()
    For each strItem in arrTextToScanFor
    If InStr(LCase(strNextLine),LCase(strItem)) Then
    strResults = strNextLine & vbcrlf & strResults
    End If
    Next
    End If
    i = i + 1
    Loop
    objTextFile.close
    WshShell.RegWrite "HKLM\Software\RDScripts\CheckTXTFile\FileChecked", FileToRead, "REG_SZ"
    WshShell.RegWrite "HKLM\Software\RDScripts\CheckTXTFile\CreateDate", oFile.DateCreated, "REG_SZ"
    WshShell.RegWrite "HKLM\Software\RDScripts\CheckTXTFile\LastLineChecked", i, "REG_DWORD"
    WshShell.RegWrite "HKLM\Software\RDScripts\CheckTXTFile\LastScanned", Now, "REG_SZ"
    If strResults <> "" Then
    SendCDOMail strMailFrom,strMailto,"VPN Logfile scan alert",strResults,"","",strSMTPServer
    End If
    Function SendCDOMail( strFrom, strSendTo, strSubject, strMessage , strUser, strPassword, strSMTP )
    With CreateObject("CDO.Message")
    .Configuration.Fields.Item("http://schemas.microsoft.com/cdo/configuration/sendusing") = 2
    .Configuration.Fields.Item("http://schemas.microsoft.com/cdo/configuration/smtpserver") = strSMTP
    .Configuration.Fields.item("http://schemas.microsoft.com/cdo/configuration/smtpauthenticate") = 1 'basic
    .Configuration.Fields.item("http://schemas.microsoft.com/cdo/configuration/sendusername") = strUser
    .Configuration.Fields.item("http://schemas.microsoft.com/cdo/configuration/sendpassword") = strPassword
    .Configuration.Fields.Update
    .From = strFrom
    .To = strSendTo
    .Subject = strSubject
    .TextBody = strMessage
    On Error Resume Next
    .Send
    If Err.Number <> 0 Then
    WScript.Echo "SendMail Failed:" & Err.Description
    End If
    End With
    End Function

    Thankyou for that link, it did help quite a bit. What i wanted was to move it to csript so i could run the wscript.echo in commandline. It all took to long and found a way to complete it via Batch. I do have a problem with my script though and you might
    be able to help.
    What i am doing is searching the log file. Finding the specific words then outputting them to an email. I havent used bmail before so thats probably my problem but then im using bmail to send me the results.
    Then im clearing the log file so the next day it is empty so that when i search it every 15 minutes its clean and only when an error occurs it will email me.
    Could you help me send the output via email using bmail or blat?
    @echo off
    echo Wasteman Logfile checker
    echo Created by: Reece Vellios
    echo Date: 08/01/2014
    findstr "SRV2006 & SRV2008" \\Mrctpv005\WasteMan2G\Config\DCS\DCS_IN\Alert.Txt > c:\log4mail.txt
    if %errorlevel%==0 C:\Documents and Settings\rvellios\Desktop\DCS Checker\bmail.exe -s mrc1tpv002.xxx.local -t [email protected] -f [email protected] -h -a "Process Dump" -m c:\log4mail.txt -c
    for %%G in (\\Mrctpv005\WasteMan2G\Config\DCS\DCS_IN\Alert.Txt) do (copy /Y nul "%%G")
    This the working script without bmail
    @echo off
    echo Wasteman Logfile checker
    echo Created by: Reece Vellios
    echo Date: 08/01/2014
    findstr "SRV2006 & SRV2008" \\Mrctpv005\WasteMan2G\Config\DCS\DCS_IN\Alert.Txt > C:\log4mail.txt
    if %errorlevel%==0 (echo Connection error)
    for %%G in (\\Mrctpv005\WasteMan2G\Config\DCS\DCS_IN\Alert.Txt) do (copy /Y nul "%%G")
    I need to make this happen:
    If error occurs at "%errorlevel%=0" then it will output the c:\log4mail.txt via smtp email using bmail.

  • Can't install Oracle XE on Windows 7 : the install ends fine but no database created and error in log file

    When i try to install Oracle XE 64bit 11g on a windows 7, the installation ends correctly, but no database is created (no datafiles) and in the log file I find :
    Oracle Database 11g Clusterware Release 11.2.0.2.0 - Production Copyright 1996, 2010 Oracle. All rights reserved.
    2015-03-24 15:24:14.733: [ default][3316]ut_read_reg:2:ocr registry key SOFTWARE\Oracle\olr cannot be opened. error 2
    [ CLSE][3316]clse_get_crs_home: Error retrieving OLR configuration [0] [Error opening olr registry key. Le fichier spécifié est introuvable.
    What's the problem?

    Oracle XE 64bit 11g on a windows 7
    Which edition ?

  • FDM server shutdown by some user, how to find that user details

    Hi,
    By mistake some has done sutdown FDM server(windows) instead of logoff, can any one tell me where we can find the user details, I mean any where in the logs can we find the user details. Plz help me.
    Thanks,

    If the server was shutdown, the information should be in the event log for the server. In the system events detail, you will typicallysee the following columns:
    Type, Date, Time, Source, Category, Event, User, Computer.
    The user who shutdown the server will be listed here.

  • Analzing log files with external tools?

    Hi,
    is there any way to use web analytics software like Webtrends with EP? In other words, does EP produce
    an access log file with date, URL, user, referrer,
    etc.?
    Thanks in advance,
    Stefan.

    Thanks for the hint. Apparently httpaccess\responses.0.trc contains log entries that look very familiar to something an ordinary web server produces, which is good.
    A simple perl script could transform the logfile (date, etc.) into a format that a Web statistics tool on the market (e.g. WebTrends) could use.
    The SAP built-in reports are not something that drives a marketing department wild.
    Thanks,
    Stefan

Maybe you are looking for

  • Problem with uploading a file in Clustered Environment

    Hi, I have a problem with uploading a file in a clustered environment. I have an iview component which facilitates an upload action of an xml config file. The problem is that the upload of the modified XML file is reflected only in the central instan

  • Tab canva disapear whith stacked canvas

    hi guys, in my form there is: 1. content canvas 2.tabbed canvas when i put a stacked canvas the tabbed canvas disapear. any help?

  • Vollume control pod for i-trigue 3400

    volume control went bad. i suspect it is 50k pot w/switch. is anybody knows where to find one? i tryed local electronic stores including radioshek, no luck. creative refuses to help. please nelp. thanks, herman

  • Spc chart

    hi, can some one tell how to get the spc charts from  the system- config, master data,etc. settings. how to export it to excel thanks in advance

  • Problème de muni ralenti dans Adobe reader pro

    Bonjour, J'ai installer une version d'évaluation d'adobe pro télécharger sur le site adobe 2 semaine en arrière. Propriété du pc: Windows 7 pro KIS 2015 pc dans un domaine profil de connexion: administrateur profil: local administrateur J'ai fais l'i