Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Now that we have the enrichment source and enrichment config defined, we can now run the loader to move the data from the enrichment source to the Metron enrichment Store and store the enrichment config in zookeeper.
    1. /usr/metron/$METRON_RELEASE/bin/flatfile_loader.sh -n enrichment_config.json -i whois_ref.csv -t enrichment -c t -e extractor_config.json
  2. After this your enrichment data will be loaded in Hbase and a Zookeeper mapping will be established. The data will be populated into Hbase table called enrichment. To verify that the logs were properly ingested into Hbase run the following command: 


    hbase shell
    scan 'enrichment'

  3. To check if Zookeeper enrichment tag was properly populated, run the following:

    1. /usr/metron/0.1BETA/bin/zk_load_configs.sh -m DUMP -z ZOOKEEPER_HOST:2181

  4. Generate some data by using the squid client to execute http requests (do this about 20 time

    1. squidclient http://www.cnn.com

Step 5: View the

...

New Enriched Telemetry Events in Metron UI

  1. Go to the Metron UI: http://METRON_UI_HOST:5000 
  2. Select Dashboard Tab 
  3. Edit the Squid Event Details Panel that you created in the Add Telemetry Docs by clicking on the edit icon. You will be taken to the Discover page. 
  4. Add the following new enrichment fields to the selected fields section (see section highlighted in red) 
  5. Click the Save Button to save the Search and save it with same name "Squid Event Details". 
  6. Click on the Dashboard Page and delete the Squid Event Details panel and re-add it. 
  7. The Squid Event Details panel should  now have the new enriched fields. 

...