Hi this is my first time using Kibana. I am trying to parse the below input file to logstash and put it to elastic search for use in Kibana.
{
"ASRtest": {
"ASRHDR": "This is asr HDR",
"ASRTestType": "DevTest",
"Scenario": [
{
"ScenarioNumber": 1,
"ScenarioName": "HTTP Validation",
"ScenarioDescription": "Validate if the API alows access over HTTP",
"ScExecutionStatus": "Execution Complete",
"ScenarioStatus": "In-Complete",
"ScenarioSeverity": false,
"TestCase": [
{
"TestCaseNumber": 1,
"TestCaseName": "HTTP Validation - using POST method ",
"TcExecutionStatus": "Execution Error",
"TcStatus": "NA",
"TcSeverity": "NA"
}
]
},
{
"ScenarioNumber": 2,
"ScenarioName": "Server Platform/Version Disclosure",
"ScenarioDescription": "Validate if API disclose server information",
"ScExecutionStatus": "Execution Complete",
"ScenarioStatus": "Failure",
"ScenarioSeverity": "Medium",
"TestCase": [
{
"TestCaseNumber": 1,
"TestCaseName": "Server Platform/Version Disclosure - using POST method ",
"TcExecutionStatus": "Executed Successfully",
"TcStatus": "Failure",
"TcSeverity": "Medium"
}
]
}
]
}
}
I want all the fields in the input to be available for the dashboard charts. Could anyone explain how to parse this multiline JSON file to logstash ==> elasticsearch. I tried a sample config file but I wa not able to produce the desired output.