Comments (10)
Agree, we should move this. Putting this for milestone v2.0.0-beta.4 (when we also revisit the exporting of templates so this can be done in one sweep)
from redelk.
User-Agent parsed data is for now put in [source][host_info]
. To adhere to ECS, the different fields should be moved to [source][host][os]
corresponding fields. To be done when maindev branch is stable enough.
from redelk.
Not sure Im following you, should all useragent info be put under source.host? Meaning the items in the image below should be renamed from source.host_info to source.host?
I cant see any proper reference by ECS except that this info should be stored in the root as user_agent.
from redelk.
This is the information for user_agent
from ECS: https://www.elastic.co/guide/en/ecs/current/ecs-user_agent.html
I've checked but they don't say it if should be on root or under another key.
The best would be to put it under source
I think.
We would end up with something like source.user_agent.os.name
, etc (os
being a sub-key under user_agent
: https://www.elastic.co/guide/en/ecs/current/ecs-os.html)
Does that make sense?
from redelk.
So the only renaming required would be source.host_info -> source.user_agent? I can live with that.
Renaming is required in the Logstash config files as well as in the index templates of ES and Kibana.
from redelk.
Yes, and changing user_agent.os to user_agent.os.name
Not sure if user_agent.os and user_agent.os.name are always the same (from your screenshot)?
from redelk.
That naming of os and os_name is part of the Logstash user-agent module. The difficulty here is that the ECS user-agent documentation is not aligned with the fiels that the plugin actually adds.
Not much we can steer here. The only thing that can be done is setting the target (https://www.elastic.co/guide/en/logstash/current/plugins-filters-useragent.html#plugins-filters-useragent-target) Of course we could do post field renaming. But imho this beats the purpose of it. If it is not conform ECS Ill leave it to Elastic to update their own Logstash plugin to adhere to ECS :-)
from redelk.
This should be in 1 PR preferably with the change of the corresponding alarms!
@xychix can colaborate to make this work in 1 PR.
from redelk.
@xychix not sure about that.
@fastlorenzo see my comment on Nov 17. Do you agree that it would be ok to leave it as it is right now, and only to revisit once Elastic fixes the Logstash user-agent module to adhere to ECS?
from redelk.
@MarcOverIP I think that should be fine indeed, it is not too confusing anyways and it doesn't look like Kibana is making use of that natively.
from redelk.
Related Issues (20)
- Help with install HOT 1
- Performance issue with rsync on C2server HOT 1
- Glibc filebeat errors HOT 1
- Implant.log_file not showing c2logs HOT 1
- Issue with dashboards missing "keyword" HOT 2
- Add mising modules in config.py
- Add support for domain lists (similar to IP lists) HOT 1
- Check and clean-up ruby scripts
- Check if all modules in config.py HOT 1
- Check for consistent usage of c2.log.type field HOT 1
- All alarms should report project_name HOT 2
- Greynoise error
- Remove config files from source control HOT 3
- Hybrid Analysis - error handling around max API hits HOT 1
- Hybrid Anlaysis - SSL handshake failure HOT 1
- VT quota management HOT 1
- ES document conflicterrors
- quick dump of small notes and issues
- Cobalt Strike enrichment stacktrace errors
- Add containers to GHCR / Review build pipeline HOT 1
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 redelk.