Creating an Insight Pack project in Eclipse

Create an Eclipse project in which to build your Insight Pack.

About this task

Before you can create an Insight Pack, you must create an Eclipse project in which to build the Insight Pack.

Procedure

To create an Insight Pack project:

  1. From the menu bar, choose File > New > Project.
  2. In the New Project dialog, expand the Log Analysis type and select the Insight Pack Project wizard. Then, click Next.
  3. Enter a project name and location. If you want to enter a different location, clear the Use the default location check box. Enter the new location and choose the file system that you want to use.
  4. Click Finish.
  5. Optional: If you want to use an existing Java project as an Insight Pack project, right-click the project folder in the Navigator pane and choose Add Insight Pack Nature and from the menu. You can also choose Add BigInsights nature ...? from the same menu.

Results

Eclipse creates an Insight Pack project. The Insight Pack Editor opens automatically.
Note: If you applied the Add Insight Pack Nature to an existing Java project and the project includes Insight Pack JSON metadata under the project root, the metadata is imported automatically.
Note: If you remove a project, remember to check the box next to the message Delete project contents on disk (cannot be undone). This option helps ensure that when you import an updated Insight Pack, it is displayed correctly.