Skip to content

Commit db17cab

Browse files
authored
changed resource property to System.hostname
1 parent 6c9c70e commit db17cab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

example/log_non_batch.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
key='accessKey')
1919

2020

21-
resource = Resource(ids={"System.ips": "192.168.1.33"})
21+
resource = Resource(ids={"System.hostname": "192.168.1.33"})
2222
log_api = Logs(batch = False)
2323
log_api.send_logs(resource = resource,msg= "this is smaple log")
2424

0 commit comments

Comments
 (0)