Comments (6)
Ah, I'm sorry, I know nothing about this.
Hey @awickham10 , can you help please?
from xesmarttarget.
It's been a while since I looked at this code but I believe it puts the "message" field in the XE in the "short_message" field in GELF.
Do you have a "message" field defined in your XE session?
from xesmarttarget.
Hi Andrew,
No, there is no "message" (nor "short_message") field in my XE session (see below, attached image, of autocreated fields / tested via a TableAppender too, see my config below):
"Target": {
// use a list of servers
"ServerName": ["XXXXXX"],
"SessionName": "queries_rpc_hosix5",
"FailOnProcessingError": false,
"Responses": [
{
"__type": "TableAppenderResponse",
// each server will refer to itself with the {ServerName} placeholder
// this means that in this case each server will upload the event to itself
"ServerName": "{ServerName}",
"DatabaseName": "testalvaro200",
"TableName": "queriesrpc5",
"AutoCreateTargetTable": true,
"UploadIntervalSeconds": 10
},
{
"__type": "GelfTcpResponse",
"ServerName": "XX.XXX.XXX.XXX",
"Port": "12207",
"Encrypt": false // ,
// "TrustServerCertificate": true
},`
from xesmarttarget.
Just to clarify, my XE session captures the "rpc_completed" event in SQL Server....I don't have any "message" or "short_message" field in that event (I think that's the problem indeed)
from xesmarttarget.
That probably explains it. It's not currently designed in a way to be able to map XE fields to GELF fields so the XE session must have a message field. It sounds like it won't work for your situation without modifications.
from xesmarttarget.
Yes. Finally, I've managed to use the CsvAppender (save to a local file, then send that file/log to Graylog via a normal input stream) for this situation. Anyway, I would like to suggest a "default" insertion of the "message" (or "short_message") field, if there's no such field in the session. Even a dummy "message: content" string would suffice to comply the GELF specs (and as we can see from the capture above, the rest of the fields are present). Feel free to close this issue, of course.
from xesmarttarget.
Related Issues (20)
- New-DbaXESmartTableWriter not writing to table HOT 9
- Aggregated column cannot have the same name as the underlying column in GroupedTableAppenderResponse HOT 1
- Column 'X' does not belong to underlying table 'events' HOT 11
- Add a mechanism to reconnect the session when error/disconnection is found
- Feature request - Add aggregate "LAST" to GroupedTableAppenderResponse HOT 1
- Allow loading configuration from URL
- Allow having multiple targets in the same config but still support old style config
- Add Timeout to let XESmartTarget stop gracefully after it expires
- XelToCsv won't launch 1.4.9 HOT 6
- nuget package HOT 7
- XESmartTarget.Core.Utils.XELFileCSVAdapter does not export all events
- Error during start: Could not load file or assembly 'Microsoft.SqlServer.XEvent.Linq.dll' or one of its dependencies. HOT 1
- Add command line parameter to load a .sql file and create the session
- Setup: QMonitor Agent is copied to a separate folder
- Setup: upgrade should delete all local config files
- ConfigWizard: does not display service user name in the servers page
- Running XESmartTarget Continuously for 24/7 Monitoring HOT 1
- Missing column in the TableAppenderResponse created table
- Add collection time bucket to GroupedTableAppenderResponse HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from xesmarttarget.