The following steps show how to use the Generic Log Adaptor to process
a log file and transform its contents into common base events.
- Retrieve a log file, to be used as a template for script fragments and
testing, from the log producer.
- Create a new adaptor file, which specifies the template to be used.
- Write the script fragment, which describes how to delimit messages within
the log file, for the message extractor.
- Test the message extractor using the configuration file test views.
- Write script fragments for each attribute you want to populate within
the common base event. You can write as many or as few as you want at a time.
- Test the attribute mappings using the configuration file test views.
- Continue writing script fragments and testing attribute mappings until
the mappings are complete.
- Specify the output file you want the adaptor to publish its results to
within the formatter.
You now have a configuration file that can be directly consumed
by the Hyades Generic Log Adaptor runtime.