Getting Data In

How to parse csv (blob) data of azure to microsoft azure addon

lmjoin
Explorer

Hello ,

How to parse csv (blob) data of azure to microsoft azure addon. we are not getting data from blobs csv file in right format.

Thanks

Tags (1)
0 Karma

sguez
Observer

Did anyone managed to resolve that issue, we are facing the same problem seem very basic function that is not working as expected, the linked mention guide is useless as it does not solve the issue 

tried to use an existing source type like

csv

mscs:storage:blob:csv

trying to create a custom and somehow force header read with all the available options all are seem to be ignored , very frustrating loading simple 5 line + header file onto blob storage and although we see the file in splunk as comma delimited it never auto extract the fileds 

 

0 Karma

lmjoin
Explorer

getting error:-

4/23/19
2:58:44.918 PM

... 19 lines omitted ...
File "C:\Program Files\Splunk\etc\apps\Splunk_TA_microsoft-cloudservices\bin\splunktamscs\azure\storage_serialization.py", line 125, in _storage_error_handler
return _general_error_handler(http_error)
File "C:\Program Files\Splunk\etc\apps\Splunk_TA_microsoft-cloudservices\bin\splunktamscs\azure\storage_error.py", line 74, in _general_error_handler
raise AzureHttpError(message, http_error.status)
AzureMissingResourceHttpError: The specified resource does not exist.
Show all 27 lines
host = gns3 source = C:\Program Files\Splunk\var\log\splunk\splunk_ta_microsoft-cloudservices_storage_blob_matazc_B64_bWF0YXpj.log sourcetype = mscs:storage:blob:log
4/23/19
2:57:05.917 PM

2019-04-23 14:57:05,917 +0000 log_level=ERROR, pid=3016, tid=ThreadPoolExecutor-0_0, file=mscs_storage_blob_data_collector.py, func_name=collect_data, code_line_no=66 | [stanza_name="asplunk" account_name="appppp" container_name="None" blob_name="None"] Error occurred in collecting data
... 9 lines omitted ...
AzureHttpError: The range specified is invalid for the current size of the resource.
InvalidRangeThe range specified is invalid for the current size of the resource.
RequestId:c1160468-e01e-0091-34e4-f95cfe000000
Time:2019-04-23T14:57:05.8017930Z
Show all 14 lines
host = gns3 source = C:\Program Files\Splunk\var\log\splunk\splunk_ta_microsoft-cloudservices_storage_blob_asplunk_B64_YXNwbHVuaw==.log sourcetype = mscs:storage:blob:log
4/23/19
2:57:05.571 PM

... 19 lines omitted ...
File "C:\Program Files\Splunk\etc\apps\Splunk_TA_microsoft-cloudservices\bin\splunktamscs\azure\storage_serialization.py", line 125, in _storage_error_handler
return _general_error_handler(http_error)
File "C:\Program Files\Splunk\etc\apps\Splunk_TA_microsoft-cloudservices\bin\splunktamscs\azure\storage_error.py", line 74, in _general_error_handler
raise AzureHttpError(message, http_error.status)
AzureMissingResourceHttpError: The specified resource does not exist.
Show all 27 lines
host = gns3 source = C:\Program Files\Splunk\var\log\splunk\splunk_ta_microsoft-cloudservices_storage_blob_matazc_B64_bWF0YXpj.log sourcetype = mscs:storage:blob:log

0 Karma

sahilverma
Loves-to-Learn

Hello,

Were you able to fix this; We have azure app logs in CSV stored in blob.
with mscs:storage:blob its not working.
Lemme know the sourcetype if you have got it fixed.

thx

0 Karma

p_gurav
Champion
0 Karma
Get Updates on the Splunk Community!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...