GitHub user kim2yung added a comment to the discussion: I have written one 
service which is importing a JSONfile for monitoring internally

> Hi, please ensure that you have started the backend service locally. You 
> mentioned that the remote URL 192.145.22.87:4200/api/monitors/import works 
> fine. You can try accessing 192.145.22.87:1157/api/monitors/import to check 
> if the import is successful.
> 
> I couldn't reproduce your issue locally.
> 
> ![image](https://private-user-images.githubusercontent.com/91836599/417082314-8fd09d03-e15f-4a91-90a6-0dc5578daa86.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NDA1NjQ4NjYsIm5iZiI6MTc0MDU2NDU2NiwicGF0aCI6Ii85MTgzNjU5OS80MTcwODIzMTQtOGZkMDlkMDMtZTE1Zi00YTkxLTkwYTYtMGRjNTU3OGRhYTg2LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMjYlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjI2VDEwMDkyNlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPThlNWRlN2FjN2I5Zjg2ODJjYjdjNWM2MzMyMzFlMjRiMjI1MzdhNjQyYjI5YjkyZjYzMTdlY2VkMmRiMTFkN2ImWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.MgglOlYQ4X-gVCwfI9WE10Rro50Lpz4rnh4ojN49eP4)

Actuall I have made one feature in Hertzbeat where it is receiving ip from 
kafka and creating a JSON file and send it import api, So for importing I have 
mentioned a url  "192.145.22.87:4200/api/monitors/import" which is working 
fine, it is importing to remote hertzbeat. BUT I want to import it in local 
Hertzbeat when I start the backend It is consuming IP from kafka listner also 
generating JSON file but not importing for LOCAL. I dont want to use other 
remote hertzbeat to see changes. I want the local hertzbeat where I am making 
changes.

GitHub link: 
https://github.com/apache/hertzbeat/discussions/3092#discussioncomment-12323843

----
This is an automatically sent email for dev@hertzbeat.apache.org.
To unsubscribe, please send an email to: dev-unsubscr...@hertzbeat.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@hertzbeat.apache.org
For additional commands, e-mail: dev-h...@hertzbeat.apache.org

Reply via email to