Giter VIP home page Giter VIP logo

seq-input-mssql's People

Contributors

azure-sentinel[bot] avatar dependabot[bot] avatar github-actions[bot] avatar hinni avatar mattmofdoom avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

seq-input-mssql's Issues

Option: Level from database to override configured level

Currently all entries get e fixed level in Seq. This level gets set during configuration.
It would be nice if there was an extra option to obtain the level from the database, so that the original level gets used rather that the one configured during setup.

Handle Log levels

Add a possiblity to differentiate between several log levels. Currently all log entries are sent to seq as error.

  • Define a column name for log levels in the source table or view
  • Map the log levels of the source applications to the seq log levels

Disable debug logging

I am not sure if this is a bug but I am experimenting with this addon and I do not want these types of logs rows to get written to SEQ:

"Query new table rows from 2024-02-12T11:09:06.7894255+01:00 to 2024-02-12T11:09:11.7915443+01:00"

I looked over the code and cannot find a way to disable this.
What can be done, maybe I am not getting something?

Add "Application" property

Since the execution log originates from a 3rd party application it would be nice to show that application name in seq.

How to handle a database Timeout

I query a view that does a few count statements.

When we ran it last week it took about 13sec in ssms. now its up to 26sec.

And in Seq we get the following error message:

image

A workaround i was thinking about was to do this query with an agentjob and write the result to a table and query this.

Microsoft.Data.SqlClient.SqlException (0x80131904)

Hello.
I think I have correctly configured the application but I get the following error:

I would appreciate if you could give me an idea to solve it.
Thanks.

2021-10-24 21_22_22-Seq

This is my json config:

{
"Debug": "False",
"QueryEverySeconds": 15,
"ServerInstance": "localhost\SQLEXPRESS",
"ConnectTimeout": null,
"CommandTimeout": null,
"Encrypt": "False",
"TrustCertificate": "False",
"InitialCatalog": "AppGest",
"IntegratedSecurity": "False",
"DatabaseUsername": "UsrAppGest",
"DatabasePassword": "[seq-preserve]",
"TableOrViewName": "LogEvents",
"AdditionalFilterClause": "",
"ColumnNameTimeStamp": "TimeStamp",
"SecondsDelay": null,
"ColumnNameMessage": "Message",
"ColumnNamesInclude": "Properties",
"ApplicationName": "",
"ApplicationPropertyName": "",
"ColumnNameEventLevel": "Level",
"EventLevelMapping": "",
"LogEventLevel": 2,
"TimePeriod": "",
"Tags": "",
"ColumnNameTags": "",
"ColumnNamePriority": "",
"PriorityMapping": "",
"ColumnNameResponder": "",
"ResponderMapping": "",
"ColumnNameProjectKey": "",
"ProjectKeyMapping": "",
"ColumnNameInitialEstimate": "",
"InitialEstimateMapping": "",
"ColumnNameRemainingEstimate": "",
"RemainingEstimateMapping": "",
"ColumnNameDueDate": "",
"DueDateMapping": ""
}

And this is table LogEvents config:

image

Input doesn't correctly handle DST

Hi @Hinni,

When DST ends, the same hour occurs twice (eg. 2am - 3am, and then at 3am, the clock changes back to 2am).

At that point, the SQL input will not log any events for an hour, until the clock gets back to 3am.

I'm putting a pull request in that I believe will fix this.

Cheers,

Matt

Define time span for execution

It would be convenient if the service could be configured to run only for a defined period of time. This is useful for test systems that are shut down at night.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.