-
Notifications
You must be signed in to change notification settings - Fork 4.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Transition Beats to ECS #8655
Comments
|
@ruflin about In my opinion that makes sense, as we are talking about files. They will generate datasets, and that's correct too, but as as long as we name this fileset in Filebeat docs I think the annotation should keep that nomenclature. |
@exekias We must change it in the docs too. Would this solve the issue? |
If we completely rename the thing, I would say yes, annotations must follow |
@ruflin Just added this to the "Field changes" section. I think this would be best solved by moving ECS docs to asciidoc on the doc website:
|
For our UI ML Module automated testing, we do the following:
We currently use
As we start with data snapshots in our existing test framework, is the beats team able to supply snapshots of indices containing |
With 7.0 you will be able for the above queries to just rely on I assume the data you are looking for is nginx and apache data for the logs. What I could produce is a few lines of example data based on our test suite logs. Would that be enough? Or you need larger logs? If you have larger log files for nginx and apache I can easily create the data. |
@ruflin Can we please start with some example data snapshots? |
Our tests logs can be found here:
I initially thought I provide you with a snapshot or es_archiver zip file from ES. But I think it's easier if the one that works on these files ingests the data himself. Like this also your apache files can be used and it does not have to go through me anymore. To make the module work with any file path, For testing use the snapshot builds: |
@webmat Above I did check the checkbox around http.request.method to normalise it. I suggest we skip this for now. |
@ruflin Understood. If I can get around to it in time would you have any objections, though? Not 100% sure I can (e.g. if we don't have what we need in field generation), but I'd like to get it done if possible. |
@webmat No objections :-) |
Closing this issue as all the checkboxes have been done except the following 3:
A big thank you to everyone that contributed to getting this massive effort done. |
With 7.0 Beats will transition to ECS: https://github.com/elastic/ecs This meta issue is to track all changes needed in Beats. The list will be extended over time
Migration Strategy
The overall migration strategy is to add a alias layer to 7.x which is opt-in to be backward compatible with 6.x data if needed. For some of the core fields used in the Infra / Logging UI aliases are introduced in 6.x for the 7.x data.
6.x (6.6 / 6.7)
7.0
agent.*
overwritable for apm-server move agent metadata to a processor #9952migrate: *
flagFields changes
os
field set in all relevant places Importing changes toos
file set from ECS Beta 2 #9763Some ECS field definitions casually refer to other ECS Readme sections in the Beats docs. We need to address this betterMoved to later.user.group
a nesting of thegroup
field set ecs#308, where user.group becomes thegroup
field set Import user.group changes from ECS #10275text
indexing. All fields exceptmessage
anderror.message
should bekeyword
. If a field requirestext
indexing, it should be added as a multi-field under thekeyword
field.Libbeat adjustments
agent.id
andagent.ephemeral_id
Add agent.{id,ephemeral_id} to all beat events #9404Beats processors
meta.*
,cloud.*
should be at the top level.container.*
at the top level, not nested underdocker.*
, and make sure to review field names vs ECS Migrate add_docker_metadata to ECS #9412host.os.name
Add OS Name into add-host-metadata #9405Auditbeat
Filebeat
read_timestamp
which should be changed toevent.created
Rename Redis input read_timestamp to event.created #9924Filebeat modules
source
field to ECS Renamesource
field in Filebeat #8902offset
tolog.offset
Rename fieldoffset
tolog.offset
#8923source_ecs
tosource
Rename source_ecs to source #8983event.created
, and notread_timestamp
Replace read_timestamp with event.created in all remaining Filebeat modules #10139[source|destination].address
for the ambiguous address (prior to parsing an IP, socket, domain) everywhere Use the .address fields for ambiguous address prior to extracting IP & domain #10141alias: false
and withscale:
, use the shared Ingest Node code, to reduce compilations. Finish migration to event.duration for 4 Filebeat modules #10274url.hostname
. Remove field url.hostname. #10469Filebeat Module migrations
:long
insteadFix recently translated Filebeat modules where integer coercions were added #9598
Metricbeat modules
Rename metricset.name to event.dataset Migration of metricset.* fields to ECS #8941
Rename metricset.module to event.module Migration of metricset.* fields to ECS #8941
Add service.type to modules. Introduce
service.type
for all Metricbeat modules #8965Decide on metricset.namespace on where the field should go.
Transition container and kubernetes fields to use container fields?
Update all data.json files
Map system metricsets (and others) to process in ECS Move Metricbeat module fields to ECS #10218
Migration of system network metricset to ECS #10325network
metricsetprocess
metricset Migrate system process metricset fields to ECS #10332Packetbeat
Journalbeat
Heartbeat
Winlogbeat
Varia
ecs.version
in all relevant places Add ecs.version to each event #9284user_agent
parsing to ECS for all web access logs.Part 2 to improve alias representation in docs Improve fields view in Docs #9288(can also happen later)See also all issues tagged "ecs"
Others
Open questions:
co.elastic.logs/fileset
toco.elastic.logs/dataset
for autodiscovery (@exekias )metricsets
config option in Metricbeat?Notes
INTEGRATION_TESTS=1 GENERATE=1 nosetests tests/system/test_modules.py -v
, x-pack:MODULES_PATH=./module INTEGRATION_TESTS=1 GENERATE=1 nosetests tests/system/test_xpack_modules.py -v
.The text was updated successfully, but these errors were encountered: