@@ -111,7 +111,9 @@ const SampleJson string = `
111111 "location": "ffxkmbwbtxplhgnz",
112112 "message": "Logging a request",
113113 "os": "Linux",
114+ "p_src_ip": "127.0.0.1",
114115 "p_timestamp": "2024-10-27T05:13:26.744Z",
116+ "p_user_agent": "Mozilla/5.0",
115117 "process_id": 123,
116118 "request_body": "ffywhsbtsgvraxjuixlsxtrgotcahkicyxnaermtqmfgzlwbqkxqmonrwojmawsyxsovcjlbkbvjsesfznpukicdtghnvvirtauo",
117119 "response_time": 100,
@@ -161,6 +163,14 @@ const FlogJsonSchema string = `{
161163 "dict_is_ordered": false,
162164 "metadata": {}
163165 },
166+ {
167+ "name": "p_src_ip",
168+ "data_type": "Utf8",
169+ "nullable": true,
170+ "dict_id": 0,
171+ "dict_is_ordered": false,
172+ "metadata": {}
173+ },
164174 {
165175 "name": "p_timestamp",
166176 "data_type": {
@@ -174,6 +184,14 @@ const FlogJsonSchema string = `{
174184 "dict_is_ordered": false,
175185 "metadata": {}
176186 },
187+ {
188+ "name": "p_user_agent",
189+ "data_type": "Utf8",
190+ "nullable": true,
191+ "dict_id": 0,
192+ "dict_is_ordered": false,
193+ "metadata": {}
194+ },
177195 {
178196 "name": "protocol",
179197 "data_type": "Utf8",
@@ -276,6 +294,14 @@ const SchemaBody string = `{
276294 "dict_is_ordered": false,
277295 "metadata": {}
278296 },
297+ {
298+ "name": "p_src_ip",
299+ "data_type": "Utf8",
300+ "nullable": true,
301+ "dict_id": 0,
302+ "dict_is_ordered": false,
303+ "metadata": {}
304+ },
279305 {
280306 "name": "p_timestamp",
281307 "data_type": {
@@ -289,6 +315,14 @@ const SchemaBody string = `{
289315 "dict_is_ordered": false,
290316 "metadata": {}
291317 },
318+ {
319+ "name": "p_user_agent",
320+ "data_type": "Utf8",
321+ "nullable": true,
322+ "dict_id": 0,
323+ "dict_is_ordered": false,
324+ "metadata": {}
325+ },
292326 {
293327 "name": "process_id",
294328 "data_type": "Float64",
0 commit comments