Perform the following steps to set up log streaming with Elastic.
- Generate a new API key in Elastic. Api key should have following privileges:
"write",
"auto_configure",
"create_index",
"manage"
-
Go to the MyJFrog Portal.
-
Additionally, you can access the MyJFrog Portal from the JFrog Platform. For more information, see Platform Single Sign-On to MyJFrog.
Note: You must be a Platform Admin to access the MyJFrog Portal via the JFrog Platform.
Log into the JFrog Platform, and in the left navigation bar of the Application module, click MyJFrog Portal. This opens the MyJFrog Portal in a new tab in your browser.
-
Select Settings from the left navigation menu.
-
Select the JFrog Cloud Log Streaming tab.
-
Turn on the Log Streaming toggle.
-
Select Elastic.
-
Enter the Elastic API key and log ingestion URL in format
http://localhost:9200/_bulk?pretty
. -
Click Save.
Logs will be streamed to a new Elastic index jfrog_cloud
. No further log parsing in Elastic is provided by JFrog.
Index customization will be added later in the MyJFrog UI.