Need information on Event logs

Need information on Event logs SearchSearch

SMS & MMS Technical Forum » NowSMS Support - SMS Issues (Product Support Only) » Need information on Event logs « Previous || Next »
Author Message
Naveen Kumar M
New member
Username: Naveen7877

Post Number: 2
Registered: 11-2019
Posted on Wednesday, November 20, 2019 - 04:32 pm:   

I have a requirement to push event logs into splunk.
Is it possible?

Where nowsms gateway event logs stored?
How to push it to splunk?
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 6070
Registered: 08-2008
Posted on Wednesday, November 20, 2019 - 06:47 pm:   

Hi,

I am not familiar with splunk.

And I'm also not 100% sure what you mean by event logs.

The NowSMS logs that record message activity have the following names:

SMSOUT-yyyymmdd.LOG - record of messages submitted from NowSMS to SMSC
SMSIN-yyyymmdd.LOG - record of messages received from SMSC to NowSMS
SMSWEB-yyyymmdd.LOG - record of client message submissions to NowSMS (HTTP or SMPP)
MMSC-yyyymmdd.LOG - record of MMS message transactions

There is something referred to as the "event log", but this primarily pertains to alerting. Alerts are logged in a Windows systemwide event log. We do not recommend interfacing with that log. As an alternative, we recommend configuring alerts to be forwarded via e-mail for automated processing.

--
Des
NowSMS Support
Naveen Kumar M
New member
Username: Naveen7877

Post Number: 3
Registered: 11-2019
Posted on Wednesday, November 20, 2019 - 09:42 pm:   

Hi,

Thanks for the detailed update.

We have already configured alerts to notify incase of warning/errors.
Even though, we have the alerts configured, I want to store the event details as logs.
Please refer the below attachment for the log details. Is it possible?

Eventlog
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 6074
Registered: 08-2008
Posted on Monday, November 25, 2019 - 07:40 pm:   

Hi,

Unfortunately those particular log entries are only written to the Windows event log (and optionally forwarded via email).

As I mentioned, we do not recommend interfacing with that log. As an alternative, we recommend configuring alerts to be forwarded via e-mail for automated processing.

I asked our developers how they access this information to display as shown in your screen capture, and was told they use Windows APIs, specifically OpenEventLog for the "Application" log, and ReadEventLog (processing source name NowSMS).

I have also initiated an engineering request to relocate this information to a standard log file in a future release.

Please note that another alternative for accessing the information shown in this go is to use the data from the SMSOUT-yyyymmdd.LOG. Entries will show an OK, ERROR or Retry Pending status.

--
Des
NowSMS Support

Add Your Message Here, or click here to create a new discussion topic.
Post:
Bold text Italics Underline Create a hyperlink Insert a clipart image
Posting Information:
This is a private posting area. Only registered users and moderators may post messages here.
Click here to create an account.
Username:
Password:
Options: Automatically activate URLs in message
Action:

Login Login / Register Logout Logout Search Last 30 Days Topics Topics